类 EnderChestInventory
- java.lang.Object
-
- net.minecraft.inventory.SimpleInventory
-
- net.minecraft.inventory.EnderChestInventory
-
- 所有已实现的接口:
Inventory,RecipeInputProvider,Clearable
public class EnderChestInventory extends SimpleInventory
- Mappings:
Namespace Name official bmtintermediary net/minecraft/class_1730named net/minecraft/inventory/EnderChestInventory
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable EnderChestBlockEntityactiveBlockEntity-
从接口继承的字段 net.minecraft.inventory.Inventory
MAX_COUNT_PER_STACK
-
-
构造器概要
构造器 构造器 说明 EnderChestInventory()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanPlayerUse(PlayerEntity player)booleanisActiveBlockEntity(EnderChestBlockEntity blockEntity)voidonClose(PlayerEntity player)voidonOpen(PlayerEntity player)voidreadNbtList(ListTag nbtList)voidsetActiveBlockEntity(EnderChestBlockEntity blockEntity)ListTagtoNbtList()-
从类继承的方法 net.minecraft.inventory.SimpleInventory
addListener, addStack, canInsert, clear, clearToList, getStack, isEmpty, markDirty, provideRecipeInputs, removeItem, removeListener, removeStack, removeStack, setStack, size, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid
-
-
-
-
字段详细资料
-
activeBlockEntity
@Nullable private @Nullable EnderChestBlockEntity activeBlockEntity
- Mappings:
Namespace Name Mixin selector official bLbmt;b:Lcie;intermediary field_7864Lnet/minecraft/class_1730;field_7864:Lnet/minecraft/class_2611;named activeBlockEntityLnet/minecraft/inventory/EnderChestInventory;activeBlockEntity:Lnet/minecraft/block/entity/EnderChestBlockEntity;
-
-
方法详细资料
-
setActiveBlockEntity
public void setActiveBlockEntity(EnderChestBlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official aLbmt;a(Lcie;)Vintermediary method_7661Lnet/minecraft/class_1730;method_7661(Lnet/minecraft/class_2611;)Vnamed setActiveBlockEntityLnet/minecraft/inventory/EnderChestInventory;setActiveBlockEntity(Lnet/minecraft/block/entity/EnderChestBlockEntity;)V
-
isActiveBlockEntity
public boolean isActiveBlockEntity(EnderChestBlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official bLbmt;b(Lcie;)Zintermediary method_31556Lnet/minecraft/class_1730;method_31556(Lnet/minecraft/class_2611;)Znamed isActiveBlockEntityLnet/minecraft/inventory/EnderChestInventory;isActiveBlockEntity(Lnet/minecraft/block/entity/EnderChestBlockEntity;)Z
-
readNbtList
public void readNbtList(ListTag nbtList)
- 覆盖:
readNbtList在类中SimpleInventory- Mappings:
Namespace Name Mixin selector official aLarl;a(Lnb;)Vintermediary method_7659Lnet/minecraft/class_1277;method_7659(Lnet/minecraft/class_2499;)Vnamed readNbtListLnet/minecraft/inventory/SimpleInventory;readNbtList(Lnet/minecraft/nbt/ListTag;)V
-
toNbtList
public ListTag toNbtList()
- 覆盖:
toNbtList在类中SimpleInventory- Mappings:
Namespace Name Mixin selector official gLarl;g()Lnb;intermediary method_7660Lnet/minecraft/class_1277;method_7660()Lnet/minecraft/class_2499;named toNbtListLnet/minecraft/inventory/SimpleInventory;toNbtList()Lnet/minecraft/nbt/ListTag;
-
canPlayerUse
public boolean canPlayerUse(PlayerEntity player)
- 指定者:
canPlayerUse在接口中Inventory- 覆盖:
canPlayerUse在类中SimpleInventory- Mappings:
Namespace Name Mixin selector official aLaqz;a(Lbjf;)Zintermediary method_5443Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Znamed canPlayerUseLnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onOpen
public void onOpen(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official c_Laqz;c_(Lbjf;)Vintermediary method_5435Lnet/minecraft/class_1263;method_5435(Lnet/minecraft/class_1657;)Vnamed onOpenLnet/minecraft/inventory/Inventory;onOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
-
onClose
public void onClose(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official b_Laqz;b_(Lbjf;)Vintermediary method_5432Lnet/minecraft/class_1263;method_5432(Lnet/minecraft/class_1657;)Vnamed onCloseLnet/minecraft/inventory/Inventory;onClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-