net.minecraft.world.entity.npc

public interface InventoryCarrier

coh
net.minecraft.world.entity.npc.InventoryCarrier
net.minecraft.class_6067
net.minecraft.entity.InventoryOwner
net.minecraft.world.entity.npc.InventoryCarrier

Field summary

Modifier and TypeField
String
c_
TAG_INVENTORY
field_40736
INVENTORY_KEY

Method summary

Modifier and TypeMethod
SimpleContainer
t()
getInventory()
method_35199()
getInventory()
static void
a(ard arg0, bvk arg1, coh arg2, cld arg3)
pickUpItem(ServerLevel arg0, Mob arg1, InventoryCarrier arg2, ItemEntity arg3)
method_43544(class_3218 arg0, class_1308 arg1, class_6067 arg2, class_1542 arg3)
pickUpItem(ServerWorld world, MobEntity entity, InventoryOwner inventoryOwner, ItemEntity item)
default void
a(tq arg0, jt$a arg1)
readInventoryFromTag(CompoundTag arg0, HolderLookup$Provider arg1)
method_46400(class_2487 arg0, class_7225$class_7874 arg1)
readInventory(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
default void
b(tq arg0, jt$a arg1)
writeInventoryToTag(CompoundTag arg0, HolderLookup$Provider arg1)
method_46399(class_2487 arg0, class_7225$class_7874 arg1)
writeInventory(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)