Package net.minecraft.world.entity
Interface EquipmentUser
- All Known Implementing Classes:
AbstractChestedHorse
,AbstractFish
,AbstractGolem
,AbstractHorse
,AbstractIllager
,AbstractPiglin
,AbstractSchoolingFish
,AbstractSkeleton
,AbstractVillager
,AgeableMob
,Allay
,AmbientCreature
,Animal
,Armadillo
,Axolotl
,Bat
,Bee
,Blaze
,Bogged
,Breeze
,Camel
,Cat
,CaveSpider
,Chicken
,Cod
,Cow
,Creeper
,Dolphin
,Donkey
,Drowned
,ElderGuardian
,EnderDragon
,EnderMan
,Endermite
,Evoker
,FlyingMob
,Fox
,Frog
,Ghast
,Giant
,GlowSquid
,Goat
,Guardian
,Hoglin
,Horse
,Husk
,Illusioner
,IronGolem
,Llama
,MagmaCube
,Mob
,Monster
,Mule
,MushroomCow
,Ocelot
,Panda
,Parrot
,PathfinderMob
,PatrollingMonster
,Phantom
,Pig
,Piglin
,PiglinBrute
,Pillager
,PolarBear
,Pufferfish
,Rabbit
,Raider
,Ravager
,Salmon
,Sheep
,ShoulderRidingEntity
,Shulker
,Silverfish
,Skeleton
,SkeletonHorse
,Slime
,Sniffer
,SnowGolem
,SpellcasterIllager
,Spider
,Squid
,Stray
,Strider
,Tadpole
,TamableAnimal
,TraderLlama
,TropicalFish
,Turtle
,Vex
,Villager
,Vindicator
,WanderingTrader
,Warden
,WaterAnimal
,Witch
,WitherBoss
,WitherSkeleton
,Wolf
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
,ZombifiedPiglin
public interface EquipmentUser
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
equip
(ResourceKey<LootTable> p_331471_, LootParams p_333826_, long p_331881_, Map<EquipmentSlot, Float> p_328541_) default void
equip
(ResourceKey<LootTable> p_329232_, LootParams p_330675_, Map<EquipmentSlot, Float> p_328003_) default void
equip
(EquipmentTable p_331159_, LootParams p_332346_) getItemBySlot
(EquipmentSlot p_329199_) default EquipmentSlot
resolveSlot
(ItemStack p_329649_, List<EquipmentSlot> p_334449_) void
setDropChance
(EquipmentSlot p_331517_, float p_334697_) void
setItemSlot
(EquipmentSlot p_333752_, ItemStack p_331668_)
-
Method Details
-
setItemSlot
-
getItemBySlot
-
setDropChance
-
equip
-
equip
default void equip(ResourceKey<LootTable> p_329232_, LootParams p_330675_, Map<EquipmentSlot, Float> p_328003_) -
equip
default void equip(ResourceKey<LootTable> p_331471_, LootParams p_333826_, long p_331881_, Map<EquipmentSlot, Float> p_328541_) -
resolveSlot
-