| protected void |
|
| protected void |
|
| public int |
| getContainerSize() |
| method_5439() |
| size() |
|
| public ItemStack |
| removeItem(int slot, int count) |
| method_5434(int arg0, int arg1) |
| removeStack(int arg0, int arg1) |
|
| public void |
|
| public void |
|
| protected Text |
| getDefaultName() |
| method_17823() |
| getContainerName() |
|
| public static void |
|
| private static boolean |
| tryMoveItems(Level level, BlockPos pos, BlockState state, HopperBlockEntity entity, BooleanSupplier action) |
| method_11243(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2614 arg3, BooleanSupplier arg4) |
| insertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier arg4) |
|
| private boolean |
| inventoryFull() |
| method_11256() |
| isFull() |
|
| private static boolean |
|
| private static int[] |
|
| private static int[] |
| createFlatSlots(int containerSize) |
| method_57011(int arg0) |
| indexArray(int size) |
|
| private static boolean |
|
| public static boolean |
|
| private static boolean |
|
| public static boolean |
|
| public static ItemStack |
|
| private static boolean |
|
| private static boolean |
| canTakeItemFromContainer(Container into, Container from, ItemStack itemStack, int slot, Direction direction) |
| method_11252(class_1263 arg0, class_1263 arg1, class_1799 arg2, int arg3, class_2350 arg4) |
| canExtract(Inventory hopperInventory, Inventory fromInventory, ItemStack stack, int slot, Direction facing) |
|
| private static ItemStack |
| tryMoveInItem(Container from, Container container, ItemStack itemStack, int slot, Direction direction) |
| method_11253(class_1263 arg0, class_1263 arg1, class_1799 arg2, int arg3, class_2350 arg4) |
| transfer(Inventory from, Inventory to, ItemStack stack, int slot, Direction side) |
|
| private static Inventory |
|
| private static Inventory |
|
| public static List<ItemEntity> |
|
| public static Inventory |
|
| private static Inventory |
| getContainerAt(Level level, BlockPos pos, BlockState state, double x, double y, double z) |
| method_11251(class_1937 arg0, class_2338 arg1, class_2680 arg2, double arg3, double arg4, double arg5) |
| getInventoryAt(World world, BlockPos pos, BlockState state, double x, double y, double z) |
|
| private static Inventory |
|
| private static Inventory |
| getEntityContainer(Level level, double x, double y, double z) |
| method_57009(class_1937 arg0, double arg1, double arg2, double arg3) |
| getEntityInventoryAt(World world, double x, double y, double z) |
|
| private static boolean |
|
| public double |
| getLevelX() |
| method_11266() |
| getHopperX() |
|
| public double |
| getLevelY() |
| method_11264() |
| getHopperY() |
|
| public double |
| getLevelZ() |
| method_11265() |
| getHopperZ() |
|
| public boolean |
| isGridAligned() |
| method_57081() |
| canBlockFromAbove() |
|
| private void |
| setCooldown(int time) |
| method_11238(int arg0) |
| setTransferCooldown(int transferCooldown) |
|
| private boolean |
| isOnCooldown() |
| method_11239() |
| needsCooldown() |
|
| private boolean |
| isOnCustomCooldown() |
| method_11242() |
| isDisabled() |
|
| protected DefaultedList<ItemStack> |
| getItems() |
| method_11282() |
| getHeldStacks() |
|
| protected void |
|
| public static void |
| entityInside(Level level, BlockPos pos, BlockState blockState, Entity entity, HopperBlockEntity hopper) |
| method_11236(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3, class_2614 arg4) |
| onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) |
|
| protected ScreenHandler |
|
| private static boolean |
|
| private static boolean |
|