Package net.minecraft.block.entity
Class HopperBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.block.entity.HopperBlockEntity
- All Implemented Interfaces:
Hopper
,Inventory
,NamedScreenHandlerFactory
,ScreenHandlerFactory
,Clearable
,Nameable
public class HopperBlockEntity extends LootableContainerBlockEntity implements Hopper
- Mappings:
Namespace Name official cgj
intermediary net/minecraft/class_2614
named net/minecraft/block/entity/HopperBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private DefaultedList<ItemStack>
inventory
private long
lastTickTime
private int
transferCooldown
Fields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
lootTableId, lootTableSeed
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
Fields inherited from interface net.minecraft.block.entity.Hopper
ABOVE_SHAPE, INPUT_AREA_SHAPE, INSIDE_SHAPE
-
Constructor Summary
Constructors Constructor Description HopperBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description private static boolean
canExtract(Inventory inv, ItemStack stack, int slot, Direction facing)
private static boolean
canInsert(Inventory inventory, ItemStack stack, int slot, Direction side)
private static boolean
canMergeItems(ItemStack first, ItemStack second)
protected ScreenHandler
createScreenHandler(int syncId, PlayerInventory playerInventory)
private static boolean
extract(Hopper hopper, Inventory inventory, int slot, Direction side)
static boolean
extract(Inventory inventory, ItemEntity itemEntity)
static boolean
extract(World world, Hopper hopper)
void
fromTag(CompoundTag tag)
private static IntStream
getAvailableSlots(Inventory inventory, Direction side)
protected Text
getContainerName()
double
getHopperX()
double
getHopperY()
double
getHopperZ()
private static Inventory
getInputInventory(World world, Hopper hopper)
static List<ItemEntity>
getInputItemEntities(World world, Hopper hopper)
private static Inventory
getInventoryAt(World world, double x, double y, double z)
static Inventory
getInventoryAt(World world, BlockPos pos)
protected DefaultedList<ItemStack>
getInvStackList()
private static Inventory
getOutputInventory(World world, BlockPos pos, BlockState state)
private static boolean
insert(World world, BlockPos pos, BlockState state, Inventory inventory)
private static boolean
insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier)
private boolean
isDisabled()
private boolean
isFull()
private static boolean
isInventoryEmpty(Inventory inv, Direction facing)
private static boolean
isInventoryFull(Inventory inventory, Direction direction)
private boolean
needsCooldown()
static void
onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)
ItemStack
removeStack(int slot, int amount)
Removes a specific number of items from the given slot.static void
serverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity)
private void
setCooldown(int cooldown)
protected void
setInvStackList(DefaultedList<ItemStack> list)
void
setStack(int slot, ItemStack stack)
int
size()
CompoundTag
toTag(CompoundTag tag)
private static ItemStack
transfer(Inventory from, Inventory to, ItemStack stack, int slot, Direction direction)
static ItemStack
transfer(Inventory from, Inventory to, ItemStack stack, Direction side)
Methods inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, serializeLootTable, setLootTable, setLootTable
Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomName
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacket
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.block.entity.Hopper
getInputAreaShape
Methods inherited from interface net.minecraft.inventory.Inventory
canPlayerUse, containsAny, count, getMaxCountPerStack, getStack, isEmpty, isValid, markDirty, onClose, onOpen, removeStack
Methods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official g
Lcgj;g:Lgj;
intermediary field_12024
Lnet/minecraft/class_2614;field_12024:Lnet/minecraft/class_2371;
named inventory
Lnet/minecraft/block/entity/HopperBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
-
transferCooldown
private int transferCooldown- Mappings:
Namespace Name Mixin selector official h
Lcgj;h:I
intermediary field_12023
Lnet/minecraft/class_2614;field_12023:I
named transferCooldown
Lnet/minecraft/block/entity/HopperBlockEntity;transferCooldown:I
-
lastTickTime
private long lastTickTime- Mappings:
Namespace Name Mixin selector official i
Lcgj;i:J
intermediary field_12022
Lnet/minecraft/class_2614;field_12022:J
named lastTickTime
Lnet/minecraft/block/entity/HopperBlockEntity;lastTickTime:J
-
-
Constructor Details
-
HopperBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcgj;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2614;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/HopperBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
fromTag
- Overrides:
fromTag
in classLockableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTag
in classLockableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
size
public int size() -
removeStack
Removes a specific number of items from the given slot.- Specified by:
removeStack
in interfaceInventory
- Overrides:
removeStack
in classLootableContainerBlockEntity
- Returns:
- the removed items as a stack
- Mappings:
Namespace Name Mixin selector official a
Lapj;a(II)Lbnv;
intermediary method_5434
Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;
named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
-
setStack
- Specified by:
setStack
in interfaceInventory
- Overrides:
setStack
in classLootableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lapj;a(ILbnv;)V
intermediary method_5447
Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)V
named setStack
Lnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)V
-
getContainerName
- Specified by:
getContainerName
in classLockableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official g
Lcfl;g()Loi;
intermediary method_17823
Lnet/minecraft/class_2624;method_17823()Lnet/minecraft/class_2561;
named getContainerName
Lnet/minecraft/block/entity/LockableContainerBlockEntity;getContainerName()Lnet/minecraft/text/Text;
-
serverTick
public static void serverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lfx;Lcht;Lcgj;)V
intermediary method_31692
Lnet/minecraft/class_2614;method_31692(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2614;)V
named serverTick
Lnet/minecraft/block/entity/HopperBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/HopperBlockEntity;)V
-
insertAndExtract
private static boolean insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lfx;Lcht;Lcgj;Ljava/util/function/BooleanSupplier;)Z
intermediary method_11243
Lnet/minecraft/class_2614;method_11243(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2614;Ljava/util/function/BooleanSupplier;)Z
named insertAndExtract
Lnet/minecraft/block/entity/HopperBlockEntity;insertAndExtract(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/HopperBlockEntity;Ljava/util/function/BooleanSupplier;)Z
-
isFull
private boolean isFull()- Mappings:
Namespace Name Mixin selector official i
Lcgj;i()Z
intermediary method_11256
Lnet/minecraft/class_2614;method_11256()Z
named isFull
Lnet/minecraft/block/entity/HopperBlockEntity;isFull()Z
-
insert
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lfx;Lcht;Lapj;)Z
intermediary method_11246
Lnet/minecraft/class_2614;method_11246(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1263;)Z
named insert
Lnet/minecraft/block/entity/HopperBlockEntity;insert(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/inventory/Inventory;)Z
-
getAvailableSlots
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lapj;Lgc;)Ljava/util/stream/IntStream;
intermediary method_17767
Lnet/minecraft/class_2614;method_17767(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Ljava/util/stream/IntStream;
named getAvailableSlots
Lnet/minecraft/block/entity/HopperBlockEntity;getAvailableSlots(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Ljava/util/stream/IntStream;
-
isInventoryFull
- Mappings:
Namespace Name Mixin selector official b
Lcgj;b(Lapj;Lgc;)Z
intermediary method_11258
Lnet/minecraft/class_2614;method_11258(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Z
named isInventoryFull
Lnet/minecraft/block/entity/HopperBlockEntity;isInventoryFull(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Z
-
isInventoryEmpty
- Mappings:
Namespace Name Mixin selector official c
Lcgj;c(Lapj;Lgc;)Z
intermediary method_11257
Lnet/minecraft/class_2614;method_11257(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Z
named isInventoryEmpty
Lnet/minecraft/block/entity/HopperBlockEntity;isInventoryEmpty(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Z
-
extract
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lcgi;)Z
intermediary method_11241
Lnet/minecraft/class_2614;method_11241(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Z
named extract
Lnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Z
-
extract
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lcgi;Lapj;ILgc;)Z
intermediary method_11261
Lnet/minecraft/class_2614;method_11261(Lnet/minecraft/class_2615;Lnet/minecraft/class_1263;ILnet/minecraft/class_2350;)Z
named extract
Lnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/block/entity/Hopper;Lnet/minecraft/inventory/Inventory;ILnet/minecraft/util/math/Direction;)Z
-
extract
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lapj;Lbek;)Z
intermediary method_11247
Lnet/minecraft/class_2614;method_11247(Lnet/minecraft/class_1263;Lnet/minecraft/class_1542;)Z
named extract
Lnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/ItemEntity;)Z
-
transfer
public static ItemStack transfer(@Nullable Inventory from, Inventory to, ItemStack stack, @Nullable Direction side)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lapj;Lapj;Lbnv;Lgc;)Lbnv;
intermediary method_11260
Lnet/minecraft/class_2614;method_11260(Lnet/minecraft/class_1263;Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Lnet/minecraft/class_1799;
named transfer
Lnet/minecraft/block/entity/HopperBlockEntity;transfer(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/item/ItemStack;
-
canInsert
private static boolean canInsert(Inventory inventory, ItemStack stack, int slot, @Nullable Direction side)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lapj;Lbnv;ILgc;)Z
intermediary method_11244
Lnet/minecraft/class_2614;method_11244(Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;)Z
named canInsert
Lnet/minecraft/block/entity/HopperBlockEntity;canInsert(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/Direction;)Z
-
canExtract
- Mappings:
Namespace Name Mixin selector official b
Lcgj;b(Lapj;Lbnv;ILgc;)Z
intermediary method_11252
Lnet/minecraft/class_2614;method_11252(Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;)Z
named canExtract
Lnet/minecraft/block/entity/HopperBlockEntity;canExtract(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/Direction;)Z
-
transfer
private static ItemStack transfer(@Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable Direction direction)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lapj;Lapj;Lbnv;ILgc;)Lbnv;
intermediary method_11253
Lnet/minecraft/class_2614;method_11253(Lnet/minecraft/class_1263;Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;)Lnet/minecraft/class_1799;
named transfer
Lnet/minecraft/block/entity/HopperBlockEntity;transfer(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/Direction;)Lnet/minecraft/item/ItemStack;
-
getOutputInventory
- Mappings:
Namespace Name Mixin selector official b
Lcgj;b(Lbtv;Lfx;Lcht;)Lapj;
intermediary method_11255
Lnet/minecraft/class_2614;method_11255(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1263;
named getOutputInventory
Lnet/minecraft/block/entity/HopperBlockEntity;getOutputInventory(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/inventory/Inventory;
-
getInputInventory
- Mappings:
Namespace Name Mixin selector official c
Lcgj;c(Lbtv;Lcgi;)Lapj;
intermediary method_11248
Lnet/minecraft/class_2614;method_11248(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Lnet/minecraft/class_1263;
named getInputInventory
Lnet/minecraft/block/entity/HopperBlockEntity;getInputInventory(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Lnet/minecraft/inventory/Inventory;
-
getInputItemEntities
- Mappings:
Namespace Name Mixin selector official b
Lcgj;b(Lbtv;Lcgi;)Ljava/util/List;
intermediary method_11237
Lnet/minecraft/class_2614;method_11237(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Ljava/util/List;
named getInputItemEntities
Lnet/minecraft/block/entity/HopperBlockEntity;getInputItemEntities(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Ljava/util/List;
-
getInventoryAt
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lfx;)Lapj;
intermediary method_11250
Lnet/minecraft/class_2614;method_11250(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1263;
named getInventoryAt
Lnet/minecraft/block/entity/HopperBlockEntity;getInventoryAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/inventory/Inventory;
-
getInventoryAt
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;DDD)Lapj;
intermediary method_11251
Lnet/minecraft/class_2614;method_11251(Lnet/minecraft/class_1937;DDD)Lnet/minecraft/class_1263;
named getInventoryAt
Lnet/minecraft/block/entity/HopperBlockEntity;getInventoryAt(Lnet/minecraft/world/World;DDD)Lnet/minecraft/inventory/Inventory;
-
canMergeItems
- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbnv;Lbnv;)Z
intermediary method_11254
Lnet/minecraft/class_2614;method_11254(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
named canMergeItems
Lnet/minecraft/block/entity/HopperBlockEntity;canMergeItems(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
getHopperX
public double getHopperX()- Specified by:
getHopperX
in interfaceHopper
- Mappings:
Namespace Name Mixin selector official w
Lcgi;w()D
intermediary method_11266
Lnet/minecraft/class_2615;method_11266()D
named getHopperX
Lnet/minecraft/block/entity/Hopper;getHopperX()D
-
getHopperY
public double getHopperY()- Specified by:
getHopperY
in interfaceHopper
- Mappings:
Namespace Name Mixin selector official x
Lcgi;x()D
intermediary method_11264
Lnet/minecraft/class_2615;method_11264()D
named getHopperY
Lnet/minecraft/block/entity/Hopper;getHopperY()D
-
getHopperZ
public double getHopperZ()- Specified by:
getHopperZ
in interfaceHopper
- Mappings:
Namespace Name Mixin selector official z
Lcgi;z()D
intermediary method_11265
Lnet/minecraft/class_2615;method_11265()D
named getHopperZ
Lnet/minecraft/block/entity/Hopper;getHopperZ()D
-
setCooldown
private void setCooldown(int cooldown)- Mappings:
Namespace Name Mixin selector official c
Lcgj;c(I)V
intermediary method_11238
Lnet/minecraft/class_2614;method_11238(I)V
named setCooldown
Lnet/minecraft/block/entity/HopperBlockEntity;setCooldown(I)V
-
needsCooldown
private boolean needsCooldown()- Mappings:
Namespace Name Mixin selector official j
Lcgj;j()Z
intermediary method_11239
Lnet/minecraft/class_2614;method_11239()Z
named needsCooldown
Lnet/minecraft/block/entity/HopperBlockEntity;needsCooldown()Z
-
isDisabled
private boolean isDisabled()- Mappings:
Namespace Name Mixin selector official k
Lcgj;k()Z
intermediary method_11242
Lnet/minecraft/class_2614;method_11242()Z
named isDisabled
Lnet/minecraft/block/entity/HopperBlockEntity;isDisabled()Z
-
getInvStackList
- Specified by:
getInvStackList
in classLootableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official f
Lcgo;f()Lgj;
intermediary method_11282
Lnet/minecraft/class_2621;method_11282()Lnet/minecraft/class_2371;
named getInvStackList
Lnet/minecraft/block/entity/LootableContainerBlockEntity;getInvStackList()Lnet/minecraft/util/collection/DefaultedList;
-
setInvStackList
- Specified by:
setInvStackList
in classLootableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcgo;a(Lgj;)V
intermediary method_11281
Lnet/minecraft/class_2621;method_11281(Lnet/minecraft/class_2371;)V
named setInvStackList
Lnet/minecraft/block/entity/LootableContainerBlockEntity;setInvStackList(Lnet/minecraft/util/collection/DefaultedList;)V
-
onEntityCollided
public static void onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lcgj;a(Lbtv;Lfx;Lcht;Laqv;Lcgj;)V
intermediary method_11236
Lnet/minecraft/class_2614;method_11236(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1297;Lnet/minecraft/class_2614;)V
named onEntityCollided
Lnet/minecraft/block/entity/HopperBlockEntity;onEntityCollided(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;Lnet/minecraft/block/entity/HopperBlockEntity;)V
-
createScreenHandler
- Specified by:
createScreenHandler
in classLockableContainerBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfl;a(ILbhk;)Lbjr;
intermediary method_5465
Lnet/minecraft/class_2624;method_5465(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
named createScreenHandler
Lnet/minecraft/block/entity/LockableContainerBlockEntity;createScreenHandler(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;
-