Package net.minecraft.entity
Interface InventoryOwner
- All Known Implementing Classes:
AllayEntity
,MerchantEntity
,PiglinEntity
,PillagerEntity
,VillagerEntity
,WanderingTraderEntity
public interface InventoryOwner
- Mappings:
Namespace Name official cet
intermediary net/minecraft/class_6067
named net/minecraft/entity/InventoryOwner
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
pickUpItem
(MobEntity entity, InventoryOwner inventoryOwner, ItemEntity item) default void
readInventory
(NbtCompound nbt) default void
-
Field Details
-
INVENTORY_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official d_
Lcet;d_: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 A
Lcet;A()Lbkj;
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
- Mappings:
Namespace Name Mixin selector official a
Lcet;a(Lbmn;Lcet;Lcbu;)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
- Mappings:
Namespace Name Mixin selector official c
Lcet;c(Lsn;)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
- Mappings:
Namespace Name Mixin selector official a_
Lcet;a_(Lsn;)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
-