Package net.minecraft.entity
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 cmk
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
pickUpItem
(MobEntity entity, InventoryOwner inventoryOwner, ItemEntity item) default void
readInventory
(NbtCompound nbt, RegistryWrapper.WrapperLookup wrapperLookup) default void
writeInventory
(NbtCompound nbt, RegistryWrapper.WrapperLookup wrapperLookup)
-
Field Details
-
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 d_
Lcmk;d_: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 y
Lcmk;y()Lbrf;
-
pickUpItem
- Mappings:
Namespace Name Mixin selector named pickUpItem
Lnet/minecraft/entity/InventoryOwner;pickUpItem(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_1308;Lnet/minecraft/class_6067;Lnet/minecraft/class_1542;)V
official a
Lcmk;a(Lbtt;Lcmk;Lcjj;)V
-
readInventory
- 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
Lcmk;a(Lus;Ljk$a;)V
-
writeInventory
- 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
Lcmk;b(Lus;Ljk$a;)V
-