类 HopperBlockEntity
- java.lang.Object
-
- net.minecraft.block.entity.BlockEntity
-
- net.minecraft.block.entity.LockableContainerBlockEntity
-
- net.minecraft.block.entity.LootableContainerBlockEntity
-
- net.minecraft.block.entity.HopperBlockEntity
-
- 所有已实现的接口:
Hopper,Inventory,NamedScreenHandlerFactory,ScreenHandlerFactory,Clearable,Nameable
public class HopperBlockEntity extends LootableContainerBlockEntity implements Hopper
- Mappings:
Namespace Name official cihintermediary net/minecraft/class_2614named net/minecraft/block/entity/HopperBlockEntity
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_31341static intfield_31342private DefaultedList<ItemStack>inventoryprivate longlastTickTimeprivate inttransferCooldown-
从类继承的字段 net.minecraft.block.entity.LootableContainerBlockEntity
LOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeed
-
从类继承的字段 net.minecraft.block.entity.BlockEntity
pos, removed, world
-
从接口继承的字段 net.minecraft.block.entity.Hopper
ABOVE_SHAPE, INPUT_AREA_SHAPE, INSIDE_SHAPE
-
从接口继承的字段 net.minecraft.inventory.Inventory
MAX_COUNT_PER_STACK
-
-
构造器概要
构造器 构造器 说明 HopperBlockEntity(BlockPos pos, BlockState state)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private static booleancanExtract(Inventory inv, ItemStack stack, int slot, Direction facing)private static booleancanInsert(Inventory inventory, ItemStack stack, int slot, @Nullable Direction side)private static booleancanMergeItems(ItemStack first, ItemStack second)protected ScreenHandlercreateScreenHandler(int syncId, PlayerInventory playerInventory)private static booleanextract(Hopper hopper, Inventory inventory, int slot, Direction side)static booleanextract(Inventory inventory, ItemEntity itemEntity)static booleanextract(World world, Hopper hopper)private static IntStreamgetAvailableSlots(Inventory inventory, Direction side)protected TextgetContainerName()doublegetHopperX()doublegetHopperY()doublegetHopperZ()private static @Nullable InventorygetInputInventory(World world, Hopper hopper)static List<ItemEntity>getInputItemEntities(World world, Hopper hopper)private static @Nullable InventorygetInventoryAt(World world, double x, double y, double z)static @Nullable InventorygetInventoryAt(World world, BlockPos pos)protected DefaultedList<ItemStack>getInvStackList()private static @Nullable InventorygetOutputInventory(World world, BlockPos pos, BlockState state)private static booleaninsert(World world, BlockPos pos, BlockState state, Inventory inventory)private static booleaninsertAndExtract(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity, BooleanSupplier booleanSupplier)private booleanisDisabled()private booleanisFull()private static booleanisInventoryEmpty(Inventory inv, Direction facing)private static booleanisInventoryFull(Inventory inventory, Direction direction)private booleanneedsCooldown()static voidonEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)voidreadNbt(CompoundTag nbt)ItemStackremoveStack(int slot, int amount)Removes a specific number of items from the given slot.static voidserverTick(World world, BlockPos pos, BlockState state, HopperBlockEntity blockEntity)private voidsetCooldown(int cooldown)protected voidsetInvStackList(DefaultedList<ItemStack> list)voidsetStack(int slot, ItemStack stack)intsize()private static ItemStacktransfer(@Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable Direction direction)static ItemStacktransfer(@Nullable Inventory from, Inventory to, ItemStack stack, @Nullable Direction side)CompoundTagwriteNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, serializeLootTable, setLootTable, setLootTable
-
从类继承的方法 net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomName
-
从类继承的方法 net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataNbt, toUpdatePacket
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.entity.Hopper
getInputAreaShape
-
从接口继承的方法 net.minecraft.inventory.Inventory
canPlayerUse, containsAny, count, getMaxCountPerStack, getStack, isEmpty, isValid, markDirty, onClose, onOpen, removeStack
-
从接口继承的方法 net.minecraft.util.Nameable
hasCustomName
-
-
-
-
字段详细资料
-
field_31341
public static final int field_31341
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLcih;c:Iintermediary field_31341Lnet/minecraft/class_2614;field_31341:Inamed field_31341Lnet/minecraft/block/entity/HopperBlockEntity;field_31341:I
-
field_31342
public static final int field_31342
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLcih;f:Iintermediary field_31342Lnet/minecraft/class_2614;field_31342:Inamed field_31342Lnet/minecraft/block/entity/HopperBlockEntity;field_31342:I
-
inventory
private DefaultedList<ItemStack> inventory
- Mappings:
Namespace Name Mixin selector official iLcih;i:Lgn;intermediary field_12024Lnet/minecraft/class_2614;field_12024:Lnet/minecraft/class_2371;named inventoryLnet/minecraft/block/entity/HopperBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
-
transferCooldown
private int transferCooldown
- Mappings:
Namespace Name Mixin selector official jLcih;j:Iintermediary field_12023Lnet/minecraft/class_2614;field_12023:Inamed transferCooldownLnet/minecraft/block/entity/HopperBlockEntity;transferCooldown:I
-
lastTickTime
private long lastTickTime
- Mappings:
Namespace Name Mixin selector official kLcih;k:Jintermediary field_12022Lnet/minecraft/class_2614;field_12022:Jnamed lastTickTimeLnet/minecraft/block/entity/HopperBlockEntity;lastTickTime:J
-
-
构造器详细资料
-
HopperBlockEntity
public HopperBlockEntity(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official <init>Lcih;<init>(Lgb;Lcjr;)Vintermediary <init>Lnet/minecraft/class_2614;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/HopperBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
方法详细资料
-
readNbt
public void readNbt(CompoundTag nbt)
- 覆盖:
readNbt在类中LockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLchp;a(Lmv;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
writeNbt
public CompoundTag writeNbt(CompoundTag nbt)
- 覆盖:
writeNbt在类中LockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official bLchp;b(Lmv;)Lmv;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
size
public int size()
-
removeStack
public ItemStack removeStack(int slot, int amount)
Removes a specific number of items from the given slot.- 指定者:
removeStack在接口中Inventory- 覆盖:
removeStack在类中LootableContainerBlockEntity- 返回:
- the removed items as a stack
- Mappings:
Namespace Name Mixin selector official aLaqz;a(II)Lbpr;intermediary method_5434Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;named removeStackLnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
-
setStack
public void setStack(int slot, ItemStack stack)- 指定者:
setStack在接口中Inventory- 覆盖:
setStack在类中LootableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLaqz;a(ILbpr;)Vintermediary method_5447Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)Vnamed setStackLnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)V
-
getContainerName
protected Text getContainerName()
- 指定者:
getContainerName在类中LockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official gLchj;g()Lon;intermediary method_17823Lnet/minecraft/class_2624;method_17823()Lnet/minecraft/class_2561;named getContainerNameLnet/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 aLcih;a(Lbvr;Lgb;Lcjr;Lcih;)Vintermediary method_31692Lnet/minecraft/class_2614;method_31692(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2614;)Vnamed serverTickLnet/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 aLcih;a(Lbvr;Lgb;Lcjr;Lcih;Ljava/util/function/BooleanSupplier;)Zintermediary method_11243Lnet/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;)Znamed insertAndExtractLnet/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 iLcih;i()Zintermediary method_11256Lnet/minecraft/class_2614;method_11256()Znamed isFullLnet/minecraft/block/entity/HopperBlockEntity;isFull()Z
-
insert
private static boolean insert(World world, BlockPos pos, BlockState state, Inventory inventory)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lbvr;Lgb;Lcjr;Laqz;)Zintermediary method_11246Lnet/minecraft/class_2614;method_11246(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1263;)Znamed insertLnet/minecraft/block/entity/HopperBlockEntity;insert(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/inventory/Inventory;)Z
-
getAvailableSlots
private static IntStream getAvailableSlots(Inventory inventory, Direction side)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Laqz;Lgg;)Ljava/util/stream/IntStream;intermediary method_17767Lnet/minecraft/class_2614;method_17767(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Ljava/util/stream/IntStream;named getAvailableSlotsLnet/minecraft/block/entity/HopperBlockEntity;getAvailableSlots(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Ljava/util/stream/IntStream;
-
isInventoryFull
private static boolean isInventoryFull(Inventory inventory, Direction direction)
- Mappings:
Namespace Name Mixin selector official bLcih;b(Laqz;Lgg;)Zintermediary method_11258Lnet/minecraft/class_2614;method_11258(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Znamed isInventoryFullLnet/minecraft/block/entity/HopperBlockEntity;isInventoryFull(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Z
-
isInventoryEmpty
private static boolean isInventoryEmpty(Inventory inv, Direction facing)
- Mappings:
Namespace Name Mixin selector official cLcih;c(Laqz;Lgg;)Zintermediary method_11257Lnet/minecraft/class_2614;method_11257(Lnet/minecraft/class_1263;Lnet/minecraft/class_2350;)Znamed isInventoryEmptyLnet/minecraft/block/entity/HopperBlockEntity;isInventoryEmpty(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/util/math/Direction;)Z
-
extract
public static boolean extract(World world, Hopper hopper)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lbvr;Lcig;)Zintermediary method_11241Lnet/minecraft/class_2614;method_11241(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Znamed extractLnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Z
-
extract
private static boolean extract(Hopper hopper, Inventory inventory, int slot, Direction side)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lcig;Laqz;ILgg;)Zintermediary method_11261Lnet/minecraft/class_2614;method_11261(Lnet/minecraft/class_2615;Lnet/minecraft/class_1263;ILnet/minecraft/class_2350;)Znamed extractLnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/block/entity/Hopper;Lnet/minecraft/inventory/Inventory;ILnet/minecraft/util/math/Direction;)Z
-
extract
public static boolean extract(Inventory inventory, ItemEntity itemEntity)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Laqz;Lbge;)Zintermediary method_11247Lnet/minecraft/class_2614;method_11247(Lnet/minecraft/class_1263;Lnet/minecraft/class_1542;)Znamed extractLnet/minecraft/block/entity/HopperBlockEntity;extract(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/ItemEntity;)Z
-
transfer
public static ItemStack transfer(@Nullable @Nullable Inventory from, Inventory to, ItemStack stack, @Nullable @Nullable Direction side)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Laqz;Laqz;Lbpr;Lgg;)Lbpr;intermediary method_11260Lnet/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 transferLnet/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 @Nullable Direction side)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Laqz;Lbpr;ILgg;)Zintermediary method_11244Lnet/minecraft/class_2614;method_11244(Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;)Znamed canInsertLnet/minecraft/block/entity/HopperBlockEntity;canInsert(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/Direction;)Z
-
canExtract
private static boolean canExtract(Inventory inv, ItemStack stack, int slot, Direction facing)
- Mappings:
Namespace Name Mixin selector official bLcih;b(Laqz;Lbpr;ILgg;)Zintermediary method_11252Lnet/minecraft/class_2614;method_11252(Lnet/minecraft/class_1263;Lnet/minecraft/class_1799;ILnet/minecraft/class_2350;)Znamed canExtractLnet/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 @Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable @Nullable Direction direction)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Laqz;Laqz;Lbpr;ILgg;)Lbpr;intermediary method_11253Lnet/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 transferLnet/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
@Nullable private static @Nullable Inventory getOutputInventory(World world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official bLcih;b(Lbvr;Lgb;Lcjr;)Laqz;intermediary method_11255Lnet/minecraft/class_2614;method_11255(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1263;named getOutputInventoryLnet/minecraft/block/entity/HopperBlockEntity;getOutputInventory(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/inventory/Inventory;
-
getInputInventory
@Nullable private static @Nullable Inventory getInputInventory(World world, Hopper hopper)
- Mappings:
Namespace Name Mixin selector official cLcih;c(Lbvr;Lcig;)Laqz;intermediary method_11248Lnet/minecraft/class_2614;method_11248(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Lnet/minecraft/class_1263;named getInputInventoryLnet/minecraft/block/entity/HopperBlockEntity;getInputInventory(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Lnet/minecraft/inventory/Inventory;
-
getInputItemEntities
public static List<ItemEntity> getInputItemEntities(World world, Hopper hopper)
- Mappings:
Namespace Name Mixin selector official bLcih;b(Lbvr;Lcig;)Ljava/util/List;intermediary method_11237Lnet/minecraft/class_2614;method_11237(Lnet/minecraft/class_1937;Lnet/minecraft/class_2615;)Ljava/util/List;named getInputItemEntitiesLnet/minecraft/block/entity/HopperBlockEntity;getInputItemEntities(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Ljava/util/List;
-
getInventoryAt
@Nullable public static @Nullable Inventory getInventoryAt(World world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lbvr;Lgb;)Laqz;intermediary method_11250Lnet/minecraft/class_2614;method_11250(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1263;named getInventoryAtLnet/minecraft/block/entity/HopperBlockEntity;getInventoryAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/inventory/Inventory;
-
getInventoryAt
@Nullable private static @Nullable Inventory getInventoryAt(World world, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lbvr;DDD)Laqz;intermediary method_11251Lnet/minecraft/class_2614;method_11251(Lnet/minecraft/class_1937;DDD)Lnet/minecraft/class_1263;named getInventoryAtLnet/minecraft/block/entity/HopperBlockEntity;getInventoryAt(Lnet/minecraft/world/World;DDD)Lnet/minecraft/inventory/Inventory;
-
canMergeItems
private static boolean canMergeItems(ItemStack first, ItemStack second)
- Mappings:
Namespace Name Mixin selector official aLcih;a(Lbpr;Lbpr;)Zintermediary method_11254Lnet/minecraft/class_2614;method_11254(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed canMergeItemsLnet/minecraft/block/entity/HopperBlockEntity;canMergeItems(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
getHopperX
public double getHopperX()
- 指定者:
getHopperX在接口中Hopper- Mappings:
Namespace Name Mixin selector official wLcig;w()Dintermediary method_11266Lnet/minecraft/class_2615;method_11266()Dnamed getHopperXLnet/minecraft/block/entity/Hopper;getHopperX()D
-
getHopperY
public double getHopperY()
- 指定者:
getHopperY在接口中Hopper- Mappings:
Namespace Name Mixin selector official yLcig;y()Dintermediary method_11264Lnet/minecraft/class_2615;method_11264()Dnamed getHopperYLnet/minecraft/block/entity/Hopper;getHopperY()D
-
getHopperZ
public double getHopperZ()
- 指定者:
getHopperZ在接口中Hopper- Mappings:
Namespace Name Mixin selector official zLcig;z()Dintermediary method_11265Lnet/minecraft/class_2615;method_11265()Dnamed getHopperZLnet/minecraft/block/entity/Hopper;getHopperZ()D
-
setCooldown
private void setCooldown(int cooldown)
- Mappings:
Namespace Name Mixin selector official cLcih;c(I)Vintermediary method_11238Lnet/minecraft/class_2614;method_11238(I)Vnamed setCooldownLnet/minecraft/block/entity/HopperBlockEntity;setCooldown(I)V
-
needsCooldown
private boolean needsCooldown()
- Mappings:
Namespace Name Mixin selector official jLcih;j()Zintermediary method_11239Lnet/minecraft/class_2614;method_11239()Znamed needsCooldownLnet/minecraft/block/entity/HopperBlockEntity;needsCooldown()Z
-
isDisabled
private boolean isDisabled()
- Mappings:
Namespace Name Mixin selector official sLcih;s()Zintermediary method_11242Lnet/minecraft/class_2614;method_11242()Znamed isDisabledLnet/minecraft/block/entity/HopperBlockEntity;isDisabled()Z
-
getInvStackList
protected DefaultedList<ItemStack> getInvStackList()
- 指定者:
getInvStackList在类中LootableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official fLcim;f()Lgn;intermediary method_11282Lnet/minecraft/class_2621;method_11282()Lnet/minecraft/class_2371;named getInvStackListLnet/minecraft/block/entity/LootableContainerBlockEntity;getInvStackList()Lnet/minecraft/util/collection/DefaultedList;
-
setInvStackList
protected void setInvStackList(DefaultedList<ItemStack> list)
- 指定者:
setInvStackList在类中LootableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLcim;a(Lgn;)Vintermediary method_11281Lnet/minecraft/class_2621;method_11281(Lnet/minecraft/class_2371;)Vnamed setInvStackListLnet/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 aLcih;a(Lbvr;Lgb;Lcjr;Lasl;Lcih;)Vintermediary method_11236Lnet/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;)Vnamed onEntityCollidedLnet/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
protected ScreenHandler createScreenHandler(int syncId, PlayerInventory playerInventory)
- 指定者:
createScreenHandler在类中LockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLchj;a(ILbje;)Lbll;intermediary method_5465Lnet/minecraft/class_2624;method_5465(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;named createScreenHandlerLnet/minecraft/block/entity/LockableContainerBlockEntity;createScreenHandler(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;
-
-