Interface InventoryOwner

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

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

    • INVENTORY_KEY

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

    • getInventory

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

      static void pickUpItem(ServerWorld world, MobEntity entity, InventoryOwner inventoryOwner, ItemEntity item)
      Mappings:
      Namespace Name Mixin selector
      named pickUpItem Lnet/minecraft/entity/InventoryOwner;pickUpItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/InventoryOwner;Lnet/minecraft/entity/ItemEntity;)V
      intermediary method_43544 Lnet/minecraft/class_6067;method_43544(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;Lnet/minecraft/class_6067;Lnet/minecraft/class_1542;)V
      official a Lcpg;a(Lash;Lbwh;Lcpg;Lcma;)V
    • readInventory

      default void readInventory(NbtCompound nbt, RegistryWrapper.WrapperLookup registries)
      Mappings:
      Namespace Name Mixin selector
      named readInventory Lnet/minecraft/entity/InventoryOwner;readInventory(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_46400 Lnet/minecraft/class_6067;method_46400(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official a Lcpg;a(Lux;Ljs$a;)V
    • writeInventory

      default void writeInventory(NbtCompound nbt, RegistryWrapper.WrapperLookup registries)
      Mappings:
      Namespace Name Mixin selector
      named writeInventory Lnet/minecraft/entity/InventoryOwner;writeInventory(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_46399 Lnet/minecraft/class_6067;method_46399(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official b Lcpg;b(Lux;Ljs$a;)V