Package net.minecraft.server.commands
Class SpawnArmorTrimsCommand
java.lang.Object
net.minecraft.server.commands.SpawnArmorTrimsCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<Holder<ArmorMaterial>, EquipmentSlot>, Item> private static final ToIntFunction
<ResourceKey<TrimMaterial>> private static final ToIntFunction
<ResourceKey<TrimPattern>> private static final List
<ResourceKey<TrimMaterial>> private static final List
<ResourceKey<TrimPattern>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_266758_) private static int
spawnArmorTrims
(CommandSourceStack p_266993_, Player p_266983_)
-
Field Details
-
MATERIAL_AND_SLOT_TO_ITEM
private static final Map<com.mojang.datafixers.util.Pair<Holder<ArmorMaterial>,EquipmentSlot>, MATERIAL_AND_SLOT_TO_ITEMItem> -
VANILLA_TRIM_PATTERNS
-
VANILLA_TRIM_MATERIALS
-
TRIM_PATTERN_ORDER
-
TRIM_MATERIAL_ORDER
-
-
Constructor Details
-
SpawnArmorTrimsCommand
public SpawnArmorTrimsCommand()
-
-
Method Details
-
register
-
spawnArmorTrims
-