Uses of Class
net.minecraft.entity.EquipmentSlot
-
Uses of EquipmentSlot in net.minecraft.client.render.entity.feature
Methods in net.minecraft.client.render.entity.feature with parameters of type EquipmentSlot Modifier and Type Method Description private AArmorFeatureRenderer. getArmor(EquipmentSlot slot)private voidArmorFeatureRenderer. renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, T entity, EquipmentSlot armorSlot, int light, A model)protected voidArmorFeatureRenderer. setVisible(A bipedModel, EquipmentSlot slot)private booleanArmorFeatureRenderer. usesSecondLayer(EquipmentSlot slot) -
Uses of EquipmentSlot in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as EquipmentSlot Modifier and Type Field Description private static EquipmentSlot[]Enchantments. ALL_ARMORprivate EquipmentSlot[]Enchantment. slotTypesMethods in net.minecraft.enchantment that return types with arguments of type EquipmentSlot Modifier and Type Method Description static Map.Entry<EquipmentSlot,ItemStack>EnchantmentHelper. chooseEquipmentWith(Enchantment enchantment, LivingEntity entity)Returns a pair of an equipment slot and the item stack in the supplied entity's slot, indicating the item stack has the enchantment supplied.static Map.Entry<EquipmentSlot,ItemStack>EnchantmentHelper. chooseEquipmentWith(Enchantment enchantment, LivingEntity entity, Predicate<ItemStack> condition)Returns a pair of an equipment slot and the item stack in the supplied entity's slot, indicating the item stack has the enchantment supplied and fulfills the extra condition.Map<EquipmentSlot,ItemStack>Enchantment. getEquipment(LivingEntity entity) -
Uses of EquipmentSlot in net.minecraft.entity
Methods in net.minecraft.entity that return EquipmentSlot Modifier and Type Method Description static EquipmentSlotEquipmentSlot. byName(String name)static EquipmentSlotEquipmentSlot. fromTypeIndex(EquipmentSlot.Type type, int index)private static @Nullable EquipmentSlotLivingEntity. getEquipmentSlot(int slotId)static EquipmentSlotLivingEntity. getPreferredEquipmentSlot(ItemStack stack)static EquipmentSlotEquipmentSlot. valueOf(String name)Returns the enum constant of this type with the specified name.static EquipmentSlot[]EquipmentSlot. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.entity that return types with arguments of type EquipmentSlot Modifier and Type Method Description private @Nullable Map<EquipmentSlot,ItemStack>LivingEntity. method_30129()Methods in net.minecraft.entity with parameters of type EquipmentSlot Modifier and Type Method Description voidEntity. equipStack(EquipmentSlot slot, ItemStack stack)abstract voidLivingEntity. equipStack(EquipmentSlot slot, ItemStack stack)private ItemStackLivingEntity. getArmorInSlot(EquipmentSlot slot)private static byteLivingEntity. getEquipmentBreakStatus(EquipmentSlot slot)abstract ItemStackLivingEntity. getEquippedStack(EquipmentSlot slot)private ItemStackLivingEntity. getStackInHandSlot(EquipmentSlot slot)booleanLivingEntity. hasStackEquipped(EquipmentSlot slot)private static CommandItemSlotLivingEntity. method_32321(LivingEntity livingEntity, EquipmentSlot equipmentSlot)voidLivingEntity. sendEquipmentBreakStatus(EquipmentSlot slot)private voidLivingEntity. setArmorInSlot(EquipmentSlot slot, ItemStack armor)private voidLivingEntity. setStackInHandSlot(EquipmentSlot slot, ItemStack stack)Method parameters in net.minecraft.entity with type arguments of type EquipmentSlot Modifier and Type Method Description private voidLivingEntity. method_30121(Map<EquipmentSlot,ItemStack> map)private voidLivingEntity. method_30123(Map<EquipmentSlot,ItemStack> map) -
Uses of EquipmentSlot in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return EquipmentSlot Modifier and Type Method Description private EquipmentSlotArmorStandEntity. slotFromPosition(Vec3d vec3d)Methods in net.minecraft.entity.decoration with parameters of type EquipmentSlot Modifier and Type Method Description private booleanArmorStandEntity. equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)voidArmorStandEntity. equipStack(EquipmentSlot slot, ItemStack stack)ItemStackArmorStandEntity. getEquippedStack(EquipmentSlot slot)private booleanArmorStandEntity. isSlotDisabled(EquipmentSlot slot) -
Uses of EquipmentSlot in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type EquipmentSlot Modifier and Type Method Description protected voidMobEntity. enchantEquipment(float power, EquipmentSlot slot)private voidPiglinEntity. equipAtChance(EquipmentSlot slot, ItemStack stack)protected voidMobEntity. equipLootStack(EquipmentSlot slot, ItemStack stack)voidAbstractSkeletonEntity. equipStack(EquipmentSlot slot, ItemStack stack)voidMobEntity. equipStack(EquipmentSlot slot, ItemStack stack)protected floatMobEntity. getDropChance(EquipmentSlot slot)static @Nullable ItemMobEntity. getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)ItemStackMobEntity. getEquippedStack(EquipmentSlot slot)voidMobEntity. setEquipmentDropChance(EquipmentSlot slot, float chance)voidMobEntity. updateDropChances(EquipmentSlot slot) -
Uses of EquipmentSlot in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type EquipmentSlot Modifier and Type Method Description voidPlayerEntity. equipStack(EquipmentSlot slot, ItemStack stack)ItemStackPlayerEntity. getEquippedStack(EquipmentSlot slot) -
Uses of EquipmentSlot in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type EquipmentSlot Modifier and Type Method Description static CommandItemSlotCommandItemSlot. of(LivingEntity entity, EquipmentSlot equipmentSlot)Creates a slot backed by an equipment slot of an living entity.static CommandItemSlotCommandItemSlot. of(LivingEntity entity, EquipmentSlot equipmentSlot, Predicate<ItemStack> stackFilter)Creates a slot backed by an equipment slot of an living entity and guarded by a condition for setting stacks into the inventory. -
Uses of EquipmentSlot in net.minecraft.item
Fields in net.minecraft.item declared as EquipmentSlot Modifier and Type Field Description protected EquipmentSlotArmorItem. slotMethods in net.minecraft.item that return EquipmentSlot Modifier and Type Method Description EquipmentSlotArmorItem. getSlotType()Constructors in net.minecraft.item with parameters of type EquipmentSlot Constructor Description ArmorItem(ArmorMaterial material, EquipmentSlot slot, Item.Settings settings)DyeableArmorItem(ArmorMaterial material, EquipmentSlot slot, Item.Settings settings) -
Uses of EquipmentSlot in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as EquipmentSlot Modifier and Type Field Description private EquipmentSlot[]SetAttributesLootFunction.Attribute. slotsFields in net.minecraft.loot.function with type parameters of type EquipmentSlot Modifier and Type Field Description private Set<EquipmentSlot>SetAttributesLootFunction.class_6156. field_31861Methods in net.minecraft.loot.function with parameters of type EquipmentSlot Modifier and Type Method Description SetAttributesLootFunction.class_6156SetAttributesLootFunction.class_6156. method_35529(EquipmentSlot equipmentSlot)Constructors in net.minecraft.loot.function with parameters of type EquipmentSlot Constructor Description Attribute(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange, EquipmentSlot[] slots, @Nullable UUID id) -
Uses of EquipmentSlot in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type EquipmentSlot Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>EntityEquipmentUpdateS2CPacket. equipmentListMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type EquipmentSlot Modifier and Type Method Description List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>EntityEquipmentUpdateS2CPacket. getEquipmentList()Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type EquipmentSlot Constructor Description EntityEquipmentUpdateS2CPacket(int id, List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> equipmentList) -
Uses of EquipmentSlot in net.minecraft.screen
Fields in net.minecraft.screen declared as EquipmentSlot Modifier and Type Field Description private static EquipmentSlot[]PlayerScreenHandler. EQUIPMENT_SLOT_ORDER -
Uses of EquipmentSlot in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type EquipmentSlot Modifier and Type Method Description private static ItemStackLootCommand. getHeldItem(ServerCommandSource source, EquipmentSlot slot)