Uses of Enum Class
net.minecraft.entity.EquipmentSlot
Packages that use EquipmentSlot
Package
Description
-
Uses of EquipmentSlot in net.minecraft.client.render.entity.feature
Methods in net.minecraft.client.render.entity.feature with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate 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 EquipmentSlotModifier and TypeFieldDescriptionprivate static EquipmentSlot[]Enchantments.ALL_ARMORprivate EquipmentSlot[]Enchantment.slotTypesMethods in net.minecraft.enchantment that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionstatic 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.Enchantment.getEquipment(LivingEntity entity)Constructors in net.minecraft.enchantment with parameters of type EquipmentSlotModifierConstructorDescriptionAquaAffinityEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)BindingCurseEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)ChannelingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)DamageEnchantment(Enchantment.Rarity weight, int typeIndex, EquipmentSlot[] slots)DepthStriderEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedEfficiencyEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedEnchantment(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes)protectedFireAspectEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)FlameEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)FrostWalkerEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)ImpalingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)InfinityEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedKnockbackEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slot)LoyaltyEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedLuckEnchantment(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes)protectedLureEnchantment(Enchantment.Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes)MendingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)MultishotEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)PiercingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)PowerEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)ProtectionEnchantment(Enchantment.Rarity weight, ProtectionEnchantment.Type protectionType, EquipmentSlot[] slotTypes)PunchEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)QuickChargeEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slot)RespirationEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)RiptideEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedSilkTouchEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)SoulSpeedEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)SweepingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)ThornsEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)protectedUnbreakingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)VanishingCurseEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes) -
Uses of EquipmentSlot in net.minecraft.entity
Methods in net.minecraft.entity that return EquipmentSlotModifier and TypeMethodDescriptionstatic EquipmentSlotstatic EquipmentSlotEquipmentSlot.fromTypeIndex(EquipmentSlot.Type type, int index)private static @Nullable EquipmentSlotLivingEntity.getEquipmentSlot(int slotId)static EquipmentSlotLivingEntity.getPreferredEquipmentSlot(ItemStack stack)static EquipmentSlotReturns 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.entity that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionprivate @Nullable Map<EquipmentSlot,ItemStack>LivingEntity.getEquipment()Methods in net.minecraft.entity with parameters of type EquipmentSlotModifier and TypeMethodDescriptionvoidEntity.equipStack(EquipmentSlot slot, ItemStack stack)abstract voidLivingEntity.equipStack(EquipmentSlot slot, ItemStack stack)private ItemStackLivingEntity.getArmorInSlot(EquipmentSlot slot)private static CommandItemSlotLivingEntity.getCommandItemSlot(LivingEntity entity, EquipmentSlot slot)private static byteLivingEntity.getEquipmentBreakStatus(EquipmentSlot slot)abstract ItemStackLivingEntity.getEquippedStack(EquipmentSlot slot)private ItemStackLivingEntity.getStackInHandSlot(EquipmentSlot slot)booleanLivingEntity.hasStackEquipped(EquipmentSlot slot)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 EquipmentSlotModifier and TypeMethodDescriptionprivate voidLivingEntity.setEquipment(Map<EquipmentSlot,ItemStack> equipment)private voidLivingEntity.swapHandStacks(Map<EquipmentSlot,ItemStack> equipment) -
Uses of EquipmentSlot in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return EquipmentSlotModifier and TypeMethodDescriptionprivate EquipmentSlotArmorStandEntity.slotFromPosition(Vec3d hitPos)Methods in net.minecraft.entity.decoration with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate booleanArmorStandEntity.equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)voidArmorStandEntity.equipStack(EquipmentSlot slot, ItemStack stack)ArmorStandEntity.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 EquipmentSlotModifier and TypeMethodDescriptionprotected 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)MobEntity.getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)MobEntity.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 EquipmentSlotModifier and TypeMethodDescriptionvoidPlayerEntity.equipStack(EquipmentSlot slot, ItemStack stack)PlayerEntity.getEquippedStack(EquipmentSlot slot) -
Uses of EquipmentSlot in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type EquipmentSlotModifier and TypeMethodDescriptionstatic 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 EquipmentSlotMethods in net.minecraft.item that return EquipmentSlotMethods in net.minecraft.item with parameters of type EquipmentSlotModifier and TypeMethodDescriptionvoidItemStack.addAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot)ArmorItem.getAttributeModifiers(EquipmentSlot slot)Item.getAttributeModifiers(EquipmentSlot slot)ItemStack.getAttributeModifiers(EquipmentSlot slot)MiningToolItem.getAttributeModifiers(EquipmentSlot slot)SwordItem.getAttributeModifiers(EquipmentSlot slot)TridentItem.getAttributeModifiers(EquipmentSlot slot)intArmorMaterial.getDurability(EquipmentSlot slot)intArmorMaterials.getDurability(EquipmentSlot slot)intArmorMaterial.getProtectionAmount(EquipmentSlot slot)intArmorMaterials.getProtectionAmount(EquipmentSlot slot)Constructors in net.minecraft.item with parameters of type EquipmentSlotModifierConstructorDescriptionArmorItem(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 EquipmentSlotModifier and TypeFieldDescription(package private) EquipmentSlot[]SetAttributesLootFunction.Attribute.slotsFields in net.minecraft.loot.function with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate Set<EquipmentSlot>SetAttributesLootFunction.AttributeBuilder.slotsMethods in net.minecraft.loot.function with parameters of type EquipmentSlotModifier and TypeMethodDescriptionSetAttributesLootFunction.AttributeBuilder.slot(EquipmentSlot slot)Constructors in net.minecraft.loot.function with parameters of type EquipmentSlotModifierConstructorDescription(package private)Attribute(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider, EquipmentSlot[] equipmentSlot, @Nullable UUID uUID) -
Uses of EquipmentSlot in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type EquipmentSlotModifier and TypeFieldDescriptionprivate List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>EntityEquipmentUpdateS2CPacket.equipmentListMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type EquipmentSlotModifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>EntityEquipmentUpdateS2CPacket.getEquipmentList()Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type EquipmentSlotModifierConstructorDescriptionEntityEquipmentUpdateS2CPacket(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 EquipmentSlotModifier and TypeFieldDescriptionprivate static EquipmentSlot[]PlayerScreenHandler.EQUIPMENT_SLOT_ORDER -
Uses of EquipmentSlot in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type EquipmentSlotModifier and TypeMethodDescriptionprivate static ItemStackLootCommand.getHeldItem(ServerCommandSource source, EquipmentSlot slot)