Package net.minecraft.entity
Interface EquipmentHolder
- All Known Implementing Classes:
AbstractDonkeyEntity
,AbstractHorseEntity
,AbstractPiglinEntity
,AbstractSkeletonEntity
,AllayEntity
,AmbientEntity
,AnimalEntity
,ArmadilloEntity
,AxolotlEntity
,BatEntity
,BeeEntity
,BlazeEntity
,BoggedEntity
,BreezeEntity
,CamelEntity
,CatEntity
,CaveSpiderEntity
,ChickenEntity
,CodEntity
,CowEntity
,CreakingEntity
,CreeperEntity
,DolphinEntity
,DonkeyEntity
,DrownedEntity
,ElderGuardianEntity
,EnderDragonEntity
,EndermanEntity
,EndermiteEntity
,EvokerEntity
,FishEntity
,FlyingEntity
,FoxEntity
,FrogEntity
,GhastEntity
,GiantEntity
,GlowSquidEntity
,GoatEntity
,GolemEntity
,GuardianEntity
,HoglinEntity
,HorseEntity
,HostileEntity
,HuskEntity
,IllagerEntity
,IllusionerEntity
,IronGolemEntity
,LlamaEntity
,MagmaCubeEntity
,MerchantEntity
,MobEntity
,MooshroomEntity
,MuleEntity
,OcelotEntity
,PandaEntity
,ParrotEntity
,PassiveEntity
,PathAwareEntity
,PatrolEntity
,PhantomEntity
,PigEntity
,PiglinBruteEntity
,PiglinEntity
,PillagerEntity
,PolarBearEntity
,PufferfishEntity
,RabbitEntity
,RaiderEntity
,RavagerEntity
,SalmonEntity
,SchoolingFishEntity
,SheepEntity
,ShulkerEntity
,SilverfishEntity
,SkeletonEntity
,SkeletonHorseEntity
,SlimeEntity
,SnifferEntity
,SnowGolemEntity
,SpellcastingIllagerEntity
,SpiderEntity
,SquidEntity
,StrayEntity
,StriderEntity
,TadpoleEntity
,TameableEntity
,TameableShoulderEntity
,TraderLlamaEntity
,TransientCreakingEntity
,TropicalFishEntity
,TurtleEntity
,VexEntity
,VillagerEntity
,VindicatorEntity
,WanderingTraderEntity
,WardenEntity
,WaterAnimalEntity
,WaterCreatureEntity
,WitchEntity
,WitherEntity
,WitherSkeletonEntity
,WolfEntity
,ZoglinEntity
,ZombieEntity
,ZombieHorseEntity
,ZombieVillagerEntity
,ZombifiedPiglinEntity
public interface EquipmentHolder
- Mappings:
Namespace Name named net/minecraft/entity/EquipmentHolder
intermediary net/minecraft/class_9460
official bvu
-
Method Summary
Modifier and TypeMethodDescriptionvoid
equipStack
(EquipmentSlot slot, ItemStack stack) default @Nullable EquipmentSlot
getSlotForStack
(ItemStack stack, List<EquipmentSlot> slotBlacklist) void
setEquipmentDropChance
(EquipmentSlot slot, float dropChance) default void
setEquipmentFromTable
(EquipmentTable equipmentTable, LootWorldContext parameters) default void
setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) default void
setEquipmentFromTable
(RegistryKey<LootTable> lootTable, LootWorldContext parameters, Map<EquipmentSlot, Float> slotDropChances)
-
Method Details
-
equipStack
- Mappings:
Namespace Name Mixin selector named equipStack
Lnet/minecraft/entity/EquipmentHolder;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
intermediary method_5673
Lnet/minecraft/class_9460;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
official a
Lbvu;a(Lbvr;Lcxo;)V
-
getEquippedStack
- Mappings:
Namespace Name Mixin selector named getEquippedStack
Lnet/minecraft/entity/EquipmentHolder;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
intermediary method_6118
Lnet/minecraft/class_9460;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
official a
Lbvu;a(Lbvr;)Lcxo;
-
setEquipmentDropChance
- Mappings:
Namespace Name Mixin selector named setEquipmentDropChance
Lnet/minecraft/entity/EquipmentHolder;setEquipmentDropChance(Lnet/minecraft/entity/EquipmentSlot;F)V
intermediary method_5946
Lnet/minecraft/class_9460;method_5946(Lnet/minecraft/class_1304;F)V
official a
Lbvu;a(Lbvr;F)V
-
setEquipmentFromTable
- Mappings:
Namespace Name Mixin selector named setEquipmentFromTable
Lnet/minecraft/entity/EquipmentHolder;setEquipmentFromTable(Lnet/minecraft/entity/EquipmentTable;Lnet/minecraft/loot/context/LootWorldContext;)V
intermediary method_58631
Lnet/minecraft/class_9460;method_58631(Lnet/minecraft/class_9652;Lnet/minecraft/class_8567;)V
official a
Lbvu;a(Lbvt;Lewr;)V
-
setEquipmentFromTable
default void setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootWorldContext parameters, Map<EquipmentSlot, Float> slotDropChances) - Mappings:
Namespace Name Mixin selector named setEquipmentFromTable
Lnet/minecraft/entity/EquipmentHolder;setEquipmentFromTable(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/loot/context/LootWorldContext;Ljava/util/Map;)V
intermediary method_59663
Lnet/minecraft/class_9460;method_59663(Lnet/minecraft/class_5321;Lnet/minecraft/class_8567;Ljava/util/Map;)V
official a
Lbvu;a(Laly;Lewr;Ljava/util/Map;)V
-
setEquipmentFromTable
default void setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootWorldContext parameters, long seed, Map<EquipmentSlot, Float> slotDropChances) - Mappings:
Namespace Name Mixin selector named setEquipmentFromTable
Lnet/minecraft/entity/EquipmentHolder;setEquipmentFromTable(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/loot/context/LootWorldContext;JLjava/util/Map;)V
intermediary method_58632
Lnet/minecraft/class_9460;method_58632(Lnet/minecraft/class_5321;Lnet/minecraft/class_8567;JLjava/util/Map;)V
official a
Lbvu;a(Laly;Lewr;JLjava/util/Map;)V
-
getSlotForStack
@Nullable default @Nullable EquipmentSlot getSlotForStack(ItemStack stack, List<EquipmentSlot> slotBlacklist) - Mappings:
Namespace Name Mixin selector named getSlotForStack
Lnet/minecraft/entity/EquipmentHolder;getSlotForStack(Lnet/minecraft/item/ItemStack;Ljava/util/List;)Lnet/minecraft/entity/EquipmentSlot;
intermediary method_58633
Lnet/minecraft/class_9460;method_58633(Lnet/minecraft/class_1799;Ljava/util/List;)Lnet/minecraft/class_1304;
official a
Lbvu;a(Lcxo;Ljava/util/List;)Lbvr;
-