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, 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, TropicalFishEntity, TurtleEntity, VexEntity, VillagerEntity, VindicatorEntity, WanderingTraderEntity, WardenEntity, 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 btb
  • Method Details

    • equipStack

      void equipStack(EquipmentSlot slot, ItemStack stack)
      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 Lbtb;a(Lbsy;Lcuq;)V
    • getEquippedStack

      ItemStack getEquippedStack(EquipmentSlot slot)
      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 Lbtb;a(Lbsy;)Lcuq;
    • setEquipmentDropChance

      void setEquipmentDropChance(EquipmentSlot slot, float dropChance)
      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 Lbtb;a(Lbsy;F)V
    • setEquipmentFromTable

      default void setEquipmentFromTable(EquipmentTable equipmentTable, LootContextParameterSet parameters)
      Mappings:
      Namespace Name Mixin selector
      named setEquipmentFromTable Lnet/minecraft/entity/EquipmentHolder;setEquipmentFromTable(Lnet/minecraft/entity/EquipmentTable;Lnet/minecraft/loot/context/LootContextParameterSet;)V
      intermediary method_58631 Lnet/minecraft/class_9460;method_58631(Lnet/minecraft/class_9652;Lnet/minecraft/class_8567;)V
      official a Lbtb;a(Lbta;Leru;)V
    • setEquipmentFromTable

      default void setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootContextParameterSet 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/LootContextParameterSet;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 Lbtb;a(Lakq;Leru;Ljava/util/Map;)V
    • setEquipmentFromTable

      default void setEquipmentFromTable(RegistryKey<LootTable> lootTable, LootContextParameterSet 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/LootContextParameterSet;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 Lbtb;a(Lakq;Leru;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 Lbtb;a(Lcuq;Ljava/util/List;)Lbsy;