Interface InventoryOwner

All Known Implementing Classes:
AllayEntity, MerchantEntity, PiglinEntity, PillagerEntity, VillagerEntity, WanderingTraderEntity

public interface InventoryOwner
Mappings:
Namespace Name
official bwa
intermediary net/minecraft/class_6067
named net/minecraft/entity/InventoryOwner
  • Field Details

    • INVENTORY_KEY

      static final String INVENTORY_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbwa;c_:Ljava/lang/String;
      intermediary field_40736 Lnet/minecraft/class_6067;field_40736:Ljava/lang/String;
      named INVENTORY_KEY Lnet/minecraft/entity/InventoryOwner;INVENTORY_KEY:Ljava/lang/String;
  • Method Details

    • getInventory

      SimpleInventory getInventory()
      Mappings:
      Namespace Name Mixin selector
      official t Lbwa;t()Lbcr;
      intermediary method_35199 Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1277;
      named getInventory Lnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/SimpleInventory;
    • pickUpItem

      static void pickUpItem(MobEntity entity, InventoryOwner inventoryOwner, ItemEntity item)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwa;a(Lbei;Lbwa;Lbti;)V
      intermediary method_43544 Lnet/minecraft/class_6067;method_43544(Lnet/minecraft/class_1308;Lnet/minecraft/class_6067;Lnet/minecraft/class_1542;)V
      named pickUpItem Lnet/minecraft/entity/InventoryOwner;pickUpItem(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/InventoryOwner;Lnet/minecraft/entity/ItemEntity;)V
    • readInventory

      default void readInventory(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official c Lbwa;c(Lqp;)V
      intermediary method_46400 Lnet/minecraft/class_6067;method_46400(Lnet/minecraft/class_2487;)V
      named readInventory Lnet/minecraft/entity/InventoryOwner;readInventory(Lnet/minecraft/nbt/NbtCompound;)V
    • writeInventory

      default void writeInventory(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbwa;a_(Lqp;)V
      intermediary method_46399 Lnet/minecraft/class_6067;method_46399(Lnet/minecraft/class_2487;)V
      named writeInventory Lnet/minecraft/entity/InventoryOwner;writeInventory(Lnet/minecraft/nbt/NbtCompound;)V