Package net.minecraft.inventory
Class EnderChestInventory
java.lang.Object
net.minecraft.inventory.SimpleInventory
net.minecraft.inventory.EnderChestInventory
- All Implemented Interfaces:
Inventory,RecipeInputProvider,Clearable
public class EnderChestInventory extends SimpleInventory
- Mappings:
Namespace Name official bltintermediary net/minecraft/class_1730named net/minecraft/inventory/EnderChestInventory
-
Field Summary
Fields Modifier and Type Field Description private @Nullable EnderChestBlockEntityactiveBlockEntity -
Constructor Summary
Constructors Constructor Description EnderChestInventory() -
Method Summary
Modifier and Type Method Description booleancanPlayerUse(PlayerEntity player)ListTaggetTags()booleanmethod_31556(EnderChestBlockEntity enderChestBlockEntity)voidonClose(PlayerEntity player)voidonOpen(PlayerEntity player)voidreadTags(ListTag tags)voidsetActiveBlockEntity(EnderChestBlockEntity blockEntity)Methods inherited from class net.minecraft.inventory.SimpleInventory
addListener, addStack, canInsert, clear, clearToList, getStack, isEmpty, markDirty, provideRecipeInputs, removeItem, removeListener, removeStack, removeStack, setStack, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid
-
Field Details
-
activeBlockEntity
- Mappings:
Namespace Name Mixin selector official aLblt;a:Lchb;intermediary field_7864Lnet/minecraft/class_1730;field_7864:Lnet/minecraft/class_2611;named activeBlockEntityLnet/minecraft/inventory/EnderChestInventory;activeBlockEntity:Lnet/minecraft/block/entity/EnderChestBlockEntity;
-
-
Constructor Details
-
EnderChestInventory
public EnderChestInventory()
-
-
Method Details
-
setActiveBlockEntity
- Mappings:
Namespace Name Mixin selector official aLblt;a(Lchb;)Vintermediary method_7661Lnet/minecraft/class_1730;method_7661(Lnet/minecraft/class_2611;)Vnamed setActiveBlockEntityLnet/minecraft/inventory/EnderChestInventory;setActiveBlockEntity(Lnet/minecraft/block/entity/EnderChestBlockEntity;)V
-
method_31556
- Mappings:
Namespace Name Mixin selector official bLblt;b(Lchb;)Zintermediary method_31556Lnet/minecraft/class_1730;method_31556(Lnet/minecraft/class_2611;)Znamed method_31556Lnet/minecraft/inventory/EnderChestInventory;method_31556(Lnet/minecraft/block/entity/EnderChestBlockEntity;)Z
-
readTags
- Overrides:
readTagsin classSimpleInventory- Mappings:
Namespace Name Mixin selector official aLaqo;a(Lmx;)Vintermediary method_7659Lnet/minecraft/class_1277;method_7659(Lnet/minecraft/class_2499;)Vnamed readTagsLnet/minecraft/inventory/SimpleInventory;readTags(Lnet/minecraft/nbt/ListTag;)V
-
getTags
- Overrides:
getTagsin classSimpleInventory- Mappings:
Namespace Name Mixin selector official gLaqo;g()Lmx;intermediary method_7660Lnet/minecraft/class_1277;method_7660()Lnet/minecraft/class_2499;named getTagsLnet/minecraft/inventory/SimpleInventory;getTags()Lnet/minecraft/nbt/ListTag;
-
canPlayerUse
- Specified by:
canPlayerUsein interfaceInventory- Overrides:
canPlayerUsein classSimpleInventory- Mappings:
Namespace Name Mixin selector official aLaqc;a(Lbif;)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
- Mappings:
Namespace Name Mixin selector official c_Laqc;c_(Lbif;)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
- Mappings:
Namespace Name Mixin selector official b_Laqc;b_(Lbif;)Vintermediary method_5432Lnet/minecraft/class_1263;method_5432(Lnet/minecraft/class_1657;)Vnamed onCloseLnet/minecraft/inventory/Inventory;onClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-