Uses of Enum Class
net.minecraft.world.entity.EquipmentSlot
Packages that use EquipmentSlot
Package
Description
-
Uses of EquipmentSlot in net.minecraft.client.renderer.entity.layers
Methods in net.minecraft.client.renderer.entity.layers with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate A
HumanoidArmorLayer.getArmorModel
(EquipmentSlot pSlot) protected Model
HumanoidArmorLayer.getArmorModelHook
(T entity, ItemStack itemStack, EquipmentSlot slot, A model) Hook to allow item-sensitive armor model. for HumanoidArmorLayer.private void
HumanoidArmorLayer.renderArmorPiece
(PoseStack pPoseStack, MultiBufferSource pBufferSource, T pLivingEntity, EquipmentSlot pSlot, int pPackedLight, A pModel) Deprecated.private void
HumanoidArmorLayer.renderArmorPiece
(PoseStack pPoseStack, MultiBufferSource pBufferSource, T pLivingEntity, EquipmentSlot pSlot, int pPackedLight, A pModel, float limbSwing, float limbSwingAmount, float partialTick, float ageInTicks, float netHeadYaw, float headPitch) protected void
HumanoidArmorLayer.setPartVisibility
(A pModel, EquipmentSlot pSlot) private boolean
HumanoidArmorLayer.usesInnerModel
(EquipmentSlot pSlot) -
Uses of EquipmentSlot in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate final List
<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> ClientboundSetEquipmentPacket.slots
Methods in net.minecraft.network.protocol.game that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionList
<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> ClientboundSetEquipmentPacket.getSlots()
Constructor parameters in net.minecraft.network.protocol.game with type arguments of type EquipmentSlotModifierConstructorDescriptionClientboundSetEquipmentPacket
(int pEntity, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> pSlots) -
Uses of EquipmentSlot in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<Holder<ArmorMaterial>, EquipmentSlot>, Item> SpawnArmorTrimsCommand.MATERIAL_AND_SLOT_TO_ITEM
Methods in net.minecraft.server.commands with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate static ItemStack
LootCommand.getSourceHandItem
(CommandSourceStack pSource, EquipmentSlot pSlot) -
Uses of EquipmentSlot in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type EquipmentSlotModifier and TypeMethodDescriptionvoid
ServerPlayer.onEquippedItemBroken
(Item pItem, EquipmentSlot pSlot) -
Uses of EquipmentSlot in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionstatic final StringRepresentable.EnumCodec
<EquipmentSlot> EquipmentSlot.CODEC
static final com.mojang.serialization.Codec
<Map<EquipmentSlot, Float>> EquipmentTable.DROP_CHANCES_CODEC
private final Predicate
<EquipmentSlot> EquipmentSlotGroup.predicate
private final Map
<EquipmentSlot, Float> EquipmentTable.slotDropChances
The field for theslotDropChances
record component.Methods in net.minecraft.world.entity that return EquipmentSlotModifier and TypeMethodDescriptionstatic EquipmentSlot
private static EquipmentSlot
LivingEntity.getEquipmentSlot
(int pIndex) LivingEntity.getEquipmentSlotForItem
(ItemStack pStack) static EquipmentSlot
LivingEntity.getSlotForHand
(InteractionHand pHand) default EquipmentSlot
EquipmentUser.resolveSlot
(ItemStack pStack, List<EquipmentSlot> pExcludedSlots) static EquipmentSlot
Returns the enum constant of this class with the specified name.static EquipmentSlot[]
EquipmentSlot.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.entity that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionprivate Map
<EquipmentSlot, ItemStack> LivingEntity.collectEquipmentChanges()
private static Map
<EquipmentSlot, Float> EquipmentTable.createForAllSlots
(float p_340946_) private static Map
<EquipmentSlot, Float> EquipmentTable.createForAllSlots
(List<EquipmentSlot> pEquipmentSlots, float pDropChance) Mob.dropPreservedEquipment
(Predicate<ItemStack> pPredicate) EquipmentTable.slotDropChances()
Returns the value of theslotDropChances
record component.Methods in net.minecraft.world.entity with parameters of type EquipmentSlotModifier and TypeMethodDescriptionstatic EquipmentSlotGroup
EquipmentSlotGroup.bySlot
(EquipmentSlot pSlot) boolean
LivingEntity.canUseSlot
(EquipmentSlot pSlot) boolean
Mob.canUseSlot
(EquipmentSlot pSlot) private static SlotAccess
LivingEntity.createEquipmentSlotAccess
(LivingEntity pEntity, EquipmentSlot pSlot) protected boolean
LivingEntity.doesEmitEquipEvent
(EquipmentSlot pSlot) protected void
LivingEntity.doHurtEquipment
(DamageSource pDamageSource, float pDamageAmount, EquipmentSlot... pSlots) protected void
Mob.enchantSpawnedArmor
(ServerLevelAccessor pLevel, RandomSource pRandom, EquipmentSlot pSlot, DifficultyInstance pDifficulty) private void
Mob.enchantSpawnedEquipment
(ServerLevelAccessor pLevel, EquipmentSlot pSlot, RandomSource pRandom, float pEnchantChance, DifficultyInstance pDifficulty) private static byte
LivingEntity.entityEventForEquipmentBreak
(EquipmentSlot pSlot) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity pEntity, EquipmentSlot pSlot) static SlotAccess
SlotAccess.forEquipmentSlot
(LivingEntity pEntity, EquipmentSlot pSlot, Predicate<ItemStack> pStackFilter) protected float
Mob.getEquipmentDropChance
(EquipmentSlot pSlot) static Item
Mob.getEquipmentForSlot
(EquipmentSlot pSlot, int pChance) EquipmentUser.getItemBySlot
(EquipmentSlot pSlot) abstract ItemStack
LivingEntity.getItemBySlot
(EquipmentSlot pSlot) Mob.getItemBySlot
(EquipmentSlot pSlot) private ItemStack
LivingEntity.getLastArmorItem
(EquipmentSlot pSlot) private ItemStack
LivingEntity.getLastHandItem
(EquipmentSlot pSlot) boolean
LivingEntity.hasItemInSlot
(EquipmentSlot pSlot) void
LivingEntity.onEquipItem
(EquipmentSlot pSlot, ItemStack pOldItem, ItemStack pNewItem) void
LivingEntity.onEquippedItemBroken
(Item pItem, EquipmentSlot pSlot) void
EquipmentUser.setDropChance
(EquipmentSlot pSlot, float pDropChance) void
Mob.setDropChance
(EquipmentSlot pSlot, float pChance) void
Mob.setGuaranteedDrop
(EquipmentSlot pSlot) void
EquipmentUser.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) abstract void
LivingEntity.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) void
Mob.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) protected void
Mob.setItemSlotAndDropWhenKilled
(EquipmentSlot pSlot, ItemStack pStack) private void
LivingEntity.setLastArmorItem
(EquipmentSlot pSlot, ItemStack pStack) private void
LivingEntity.setLastHandItem
(EquipmentSlot pSlot, ItemStack pStack) boolean
EquipmentSlotGroup.test
(EquipmentSlot pSlot) Method parameters in net.minecraft.world.entity with type arguments of type EquipmentSlotModifier and TypeMethodDescriptionprivate static Map
<EquipmentSlot, Float> EquipmentTable.createForAllSlots
(List<EquipmentSlot> pEquipmentSlots, float pDropChance) default void
EquipmentUser.equip
(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, long pSeed, Map<EquipmentSlot, Float> pSlotDropChances) default void
EquipmentUser.equip
(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, Map<EquipmentSlot, Float> pSlotDropChances) void
Mob.equip
(ResourceKey<LootTable> pEquipmentLootTable, Map<EquipmentSlot, Float> pSlotDropChances) private void
LivingEntity.handleEquipmentChanges
(Map<EquipmentSlot, ItemStack> pEquipments) private void
LivingEntity.handleHandSwap
(Map<EquipmentSlot, ItemStack> pHands) default EquipmentSlot
EquipmentUser.resolveSlot
(ItemStack pStack, List<EquipmentSlot> pExcludedSlots) Constructors in net.minecraft.world.entity with parameters of type EquipmentSlotModifierConstructorDescriptionprivate
EquipmentSlotGroup
(int pId, String pKey, EquipmentSlot pSlot) Constructor parameters in net.minecraft.world.entity with type arguments of type EquipmentSlotModifierConstructorDescriptionprivate
EquipmentSlotGroup
(int pId, String pKey, Predicate<EquipmentSlot> pPredicate) EquipmentTable
(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTable
record class. -
Uses of EquipmentSlot in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type EquipmentSlot -
Uses of EquipmentSlot in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse with parameters of type EquipmentSlotModifier and TypeMethodDescriptionboolean
Horse.canUseSlot
(EquipmentSlot pSlot) boolean
Llama.canUseSlot
(EquipmentSlot pSlot) private void
SkeletonTrapGoal.enchant
(Skeleton pSkeleton, EquipmentSlot pSlot, DifficultyInstance pDifficulty) -
Uses of EquipmentSlot in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return EquipmentSlotMethods in net.minecraft.world.entity.decoration with parameters of type EquipmentSlotModifier and TypeMethodDescriptionboolean
ArmorStand.canUseSlot
(EquipmentSlot pSlot) ArmorStand.getItemBySlot
(EquipmentSlot pSlot) private boolean
ArmorStand.isDisabled
(EquipmentSlot pSlot) void
ArmorStand.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) private boolean
ArmorStand.swapItem
(Player pPlayer, EquipmentSlot pSlot, ItemStack pStack, InteractionHand pHand) -
Uses of EquipmentSlot in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type EquipmentSlotModifier and TypeMethodDescriptionvoid
AbstractSkeleton.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) -
Uses of EquipmentSlot in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate void
Piglin.maybeWearArmor
(EquipmentSlot pSlot, ItemStack pStack, RandomSource pRandom) -
Uses of EquipmentSlot in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type EquipmentSlotModifier and TypeMethodDescriptionboolean
Player.canUseSlot
(EquipmentSlot pSlot) protected boolean
Player.doesEmitEquipEvent
(EquipmentSlot pSlot) Player.getItemBySlot
(EquipmentSlot pSlot1) void
Player.setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) -
Uses of EquipmentSlot in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as EquipmentSlotModifier and TypeFieldDescriptionprivate final EquipmentSlot
ArmorSlot.slot
private static final EquipmentSlot[]
InventoryMenu.SLOT_IDS
Fields in net.minecraft.world.inventory with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate static final Map
<EquipmentSlot, ResourceLocation> InventoryMenu.TEXTURE_EMPTY_SLOTS
Constructors in net.minecraft.world.inventory with parameters of type EquipmentSlotModifierConstructorDescriptionArmorSlot
(Container pContainer, LivingEntity pOwner, EquipmentSlot pSlot, int pSlotIndex, int pX, int pY, ResourceLocation pEmptyIcon) -
Uses of EquipmentSlot in net.minecraft.world.item
Fields in net.minecraft.world.item declared as EquipmentSlotMethods in net.minecraft.world.item that return EquipmentSlotModifier and TypeMethodDescriptionArmorItem.getEquipmentSlot()
ElytraItem.getEquipmentSlot()
Equipable.getEquipmentSlot()
ShieldItem.getEquipmentSlot()
ArmorItem.Type.getSlot()
Methods in net.minecraft.world.item with parameters of type EquipmentSlotModifier and TypeMethodDescriptionvoid
ItemStack.forEachModifier
(EquipmentSlot pEquipmentSLot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) void
ItemStack.hurtAndBreak
(int pAmount, LivingEntity pEntity, EquipmentSlot pSlot) ItemStack.hurtAndConvertOnBreak
(int pAmount, ItemLike pItem, LivingEntity pEntity, EquipmentSlot pSlot) Constructors in net.minecraft.world.item with parameters of type EquipmentSlot -
Uses of EquipmentSlot in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type EquipmentSlotModifier and TypeMethodDescriptiondouble
ItemAttributeModifiers.compute
(double pBaseValue, EquipmentSlot pEquipmentSlot) void
ItemAttributeModifiers.forEach
(EquipmentSlot pEquipmentSlot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) -
Uses of EquipmentSlot in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as EquipmentSlotModifier and TypeFieldDescriptionprivate final EquipmentSlot
EnchantedItemInUse.inSlot
The field for theinSlot
record component.Methods in net.minecraft.world.item.enchantment that return EquipmentSlotModifier and TypeMethodDescriptionEnchantedItemInUse.inSlot()
Returns the value of theinSlot
record component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionEnchantment.getSlotItems
(LivingEntity pEntity) Creates a new map containing all items equipped by an entity ininvalid reference
slots that the enchantment cares about
Methods in net.minecraft.world.item.enchantment with parameters of type EquipmentSlotModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.forEachModifier
(ItemStack pStack, EquipmentSlot pSlot, BiConsumer<Holder<Attribute>, AttributeModifier> pAction) boolean
Enchantment.matchingSlot
(EquipmentSlot pSlot) static void
EnchantmentHelper.onHitBlock
(ServerLevel pLevel, ItemStack pStack, LivingEntity pOwner, Entity pEntity, EquipmentSlot pSlot, Vec3 pPos, BlockState pState, Consumer<Item> pOnBreak) static void
EnchantmentHelper.runIterationOnItem
(ItemStack pStack, EquipmentSlot pSlot, LivingEntity pEntity, EnchantmentHelper.EnchantmentInSlotVisitor pVisitor) static void
EnchantmentHelper.runLocationChangedEffects
(ServerLevel pLevel, ItemStack pStack, LivingEntity pEntity, EquipmentSlot pSlot) static void
EnchantmentHelper.stopLocationBasedEffects
(ItemStack pStack, LivingEntity pEntity, EquipmentSlot pSlot) Constructors in net.minecraft.world.item.enchantment with parameters of type EquipmentSlotModifierConstructorDescriptionEnchantedItemInUse
(ItemStack p_344800_, EquipmentSlot p_344722_, LivingEntity p_345536_) EnchantedItemInUse
(ItemStack itemStack, EquipmentSlot inSlot, LivingEntity owner, Consumer<Item> onBreak) Creates an instance of aEnchantedItemInUse
record class. -
Uses of EquipmentSlot in net.minecraft.world.item.enchantment.effects
Methods in net.minecraft.world.item.enchantment.effects with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate com.google.common.collect.HashMultimap
<Holder<Attribute>, AttributeModifier> EnchantmentAttributeEffect.makeAttributeMap
(int p_346033_, EquipmentSlot p_350290_) -
Uses of EquipmentSlot in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return EquipmentSlotModifier and TypeMethodDescriptionAbstractSkullBlock.getEquipmentSlot()
EquipableCarvedPumpkinBlock.getEquipmentSlot()
WoolCarpetBlock.getEquipmentSlot()
-
Uses of EquipmentSlot in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type EquipmentSlotModifier and TypeMethodDescriptionstatic Model
ClientHooks.getArmorModel
(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlot slot, HumanoidModel<?> _default) static ResourceLocation
ClientHooks.getArmorTexture
(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) -
Uses of EquipmentSlot in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type EquipmentSlotModifier and TypeMethodDescriptiondefault Model
IClientItemExtensions.getGenericArmorModel
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the armor model for this item when it's equipped.default HumanoidModel
<?> IClientItemExtensions.getHumanoidArmorModel
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, HumanoidModel<?> original) Queries the humanoid armor model for this item when it's equipped.default void
IClientItemExtensions.setupModelAnimations
(LivingEntity livingEntity, ItemStack itemStack, EquipmentSlot equipmentSlot, Model model, float limbSwing, float limbSwingAmount, float partialTick, float ageInTicks, float netHeadYaw, float headPitch) Called when an armor piece is about to be rendered, allowing parts of the model to be animated or changed. -
Uses of EquipmentSlot in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type EquipmentSlotModifier and TypeMethodDescriptionstatic void
CommonHooks.onArmorHurt
(DamageSource source, EquipmentSlot[] slots, float damage, LivingEntity armoredEntity) This is invoked inLivingEntity.doHurtEquipment(DamageSource, float, EquipmentSlot...)
and replaces the existing item hurt and break logic with an event-sensitive version. -
Uses of EquipmentSlot in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return EquipmentSlotModifier and TypeMethodDescriptiondefault @Nullable EquipmentSlot
IItemExtension.getEquipmentSlot
(ItemStack stack) Override this to set a non-default armor slot for an ItemStack, but do not use this to get the armor slot of said stack; for that, useLivingEntity.getEquipmentSlotForItem(ItemStack)
..default @Nullable EquipmentSlot
IItemStackExtension.getEquipmentSlot()
Override this to set a non-default armor slot for an ItemStack, but do not use this to get the armor slot of said stack; for that, useLivingEntity.getEquipmentSlotForItem(ItemStack)
.Methods in net.neoforged.neoforge.common.extensions with parameters of type EquipmentSlotModifier and TypeMethodDescriptiondefault boolean
IItemExtension.canEquip
(ItemStack stack, EquipmentSlot armorType, LivingEntity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IItemStackExtension.canEquip
(EquipmentSlot armorType, LivingEntity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default @Nullable ResourceLocation
IItemExtension.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item. -
Uses of EquipmentSlot in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as EquipmentSlotFields in net.neoforged.neoforge.event.entity.living with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate final EnumMap
<EquipmentSlot, ArmorHurtEvent.ArmorEntry> ArmorHurtEvent.armorEntries
Methods in net.neoforged.neoforge.event.entity.living that return EquipmentSlotMethods in net.neoforged.neoforge.event.entity.living that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionArmorHurtEvent.getArmorMap()
Used internally to get the full map ofItemStack
s to be hurtMethods in net.neoforged.neoforge.event.entity.living with parameters of type EquipmentSlotModifier and TypeMethodDescriptionArmorHurtEvent.getArmorItemStack
(EquipmentSlot slot) Provides the Itemstack for the given slot.ArmorHurtEvent.getNewDamage
(EquipmentSlot slot) Returns the amount to hurt the armor if the event is not cancelled.ArmorHurtEvent.getOriginalDamage
(EquipmentSlot slot) Returns the original damage before any event modifications.void
ArmorHurtEvent.setNewDamage
(EquipmentSlot slot, float damage) Sets new damage for the armor.Constructors in net.neoforged.neoforge.event.entity.living with parameters of type EquipmentSlotModifierConstructorDescriptionLivingEquipmentChangeEvent
(LivingEntity entity, EquipmentSlot slot, ItemStack from, ItemStack to) Constructor parameters in net.neoforged.neoforge.event.entity.living with type arguments of type EquipmentSlotModifierConstructorDescriptionArmorHurtEvent
(EnumMap<EquipmentSlot, ArmorHurtEvent.ArmorEntry> armorMap, LivingEntity player) -
Uses of EquipmentSlot in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprotected final List
<EquipmentSlot> EntityEquipmentInvWrapper.slots
The slots exposed by this wrapper, withgetIndex()
as the index.Methods in net.neoforged.neoforge.items.wrapper that return EquipmentSlotModifier and TypeMethodDescriptionprotected EquipmentSlot
EntityEquipmentInvWrapper.validateSlotIndex
(int slot) -
Uses of EquipmentSlot in net.neoforged.neoforge.oldtest.client
Methods in net.neoforged.neoforge.oldtest.client with parameters of type EquipmentSlotModifier and TypeMethodDescription@Nullable ResourceLocation
CustomArmorModelTest.EndermanArmorItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) -
Uses of EquipmentSlot in net.neoforged.neoforge.oldtest.client.rendering
Methods in net.neoforged.neoforge.oldtest.client.rendering with parameters of type EquipmentSlotModifier and TypeMethodDescriptionEntityRendererEventsTest.MyEntity.getItemBySlot
(EquipmentSlot p_21127_) void
EntityRendererEventsTest.MyEntity.setItemSlot
(EquipmentSlot p_21036_, ItemStack p_21037_) -
Uses of EquipmentSlot in net.neoforged.neoforge.oldtest.item
Methods in net.neoforged.neoforge.oldtest.item that return EquipmentSlotModifier and TypeMethodDescription@Nullable EquipmentSlot
CustomElytraTest.CustomElytra.getEquipmentSlot
(ItemStack stack)
HumanoidArmorLayer.renderArmorPiece(PoseStack, MultiBufferSource, LivingEntity, EquipmentSlot, int, HumanoidModel, float, float, float, float, float, float)
instead.