类 SpawnArmorTrimsCommand
java.lang.Object
net.minecraft.server.commands.SpawnArmorTrimsCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final ToIntFunction
<ResourceKey<TrimMaterial>> private static final ToIntFunction
<ResourceKey<TrimPattern>> private static final List
<ResourceKey<TrimMaterial>> private static final List
<ResourceKey<TrimPattern>> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static List
<Holder.Reference<Item>> findEquippableItemsWithAssets
(HolderLookup<Item> p_399703_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_266758_) private static int
spawnAllArmorTrims
(CommandSourceStack p_400273_, Player p_400064_) private static int
spawnArmorTrim
(CommandSourceStack p_399815_, Player p_400283_, ResourceKey<TrimPattern> p_399941_) private static int
spawnArmorTrims
(CommandSourceStack p_266993_, Player p_266983_, Stream<Holder.Reference<TrimPattern>> p_400161_)
-
字段详细资料
-
VANILLA_TRIM_PATTERNS
-
VANILLA_TRIM_MATERIALS
-
TRIM_PATTERN_ORDER
-
TRIM_MATERIAL_ORDER
-
ERROR_INVALID_PATTERN
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_PATTERN
-
-
构造器详细资料
-
SpawnArmorTrimsCommand
public SpawnArmorTrimsCommand()
-
-
方法详细资料
-
register
-
spawnAllArmorTrims
-
spawnArmorTrim
private static int spawnArmorTrim(CommandSourceStack p_399815_, Player p_400283_, ResourceKey<TrimPattern> p_399941_) -
spawnArmorTrims
private static int spawnArmorTrims(CommandSourceStack p_266993_, Player p_266983_, Stream<Holder.Reference<TrimPattern>> p_400161_) -
findEquippableItemsWithAssets
private static List<Holder.Reference<Item>> findEquippableItemsWithAssets(HolderLookup<Item> p_399703_)
-