Package net.minecraft.block.entity
Class class_2737
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.block.entity.class_2737
- All Implemented Interfaces:
LockableScreenHandlerFactory,class_2964,Inventory,NamedScreenHandlerFactory,Nameable
- Direct Known Subclasses:
ChestBlockEntity,DispenserBlockEntity,HopperBlockEntity,ShulkerBoxBlockEntity
- Mappings:
Namespace Name official awaintermediary net/minecraft/class_2737named net/minecraft/block/entity/class_2737
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
block, pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlayerUseInv(PlayerEntity player) voidclear()getInvStack(int slot) intintgetProperty(int key) booleanbooleanisValidInvStack(int slot, ItemStack stack) voidmethod_11660(Identifier identifier, long long2) protected booleanmethod_11661(NbtCompound nbtCompound) voidmethod_11662(PlayerEntity playerEntity) protected booleanmethod_11663(NbtCompound nbtCompound) voidmethod_13729(String string) protected abstract DefaultedList<ItemStack>voidonInvClose(PlayerEntity player) voidonInvOpen(PlayerEntity player) removeInvStack(int slot) voidsetInvStack(int slot, ItemStack stack) voidsetProperty(int id, int value) takeInvStack(int slot, int amount) Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
fromNbt, getLock, hasLock, method_541, method_6344, setLockMethods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, create, getBlock, getDataValue, getEntityWorld, getIdentifier, getPos, getSquaredDistance, getSquaredRenderDistance, getUpdatePacket, hasWorld, isRemoved, markDirty, markRemoved, method_11646, method_13321, method_13322, method_13323, onBlockAction, populateCrashReport, resetBlock, setPosition, setWorld, shouldNotCopyNbtFromItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
getInvMaxStackAmount, getInvSize, isEmpty, markDirtyMethods inherited from interface net.minecraft.text.Nameable
getTranslationKeyMethods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
createScreenHandler, getId
-
Field Details
-
field_12852
- Mappings:
Namespace Name Mixin selector official mLawa;m:Lnf;intermediary field_12852Lnet/minecraft/class_2737;field_12852:Lnet/minecraft/class_1653;named field_12852Lnet/minecraft/block/entity/class_2737;field_12852:Lnet/minecraft/util/Identifier;
-
field_12853
protected long field_12853- Mappings:
Namespace Name Mixin selector official nLawa;n:Jintermediary field_12853Lnet/minecraft/class_2737;field_12853:Jnamed field_12853Lnet/minecraft/block/entity/class_2737;field_12853:J
-
name
- Mappings:
Namespace Name Mixin selector official oLawa;o:Ljava/lang/String;intermediary field_15157Lnet/minecraft/class_2737;field_15157:Ljava/lang/String;named nameLnet/minecraft/block/entity/class_2737;name:Ljava/lang/String;
-
-
Constructor Details
-
class_2737
public class_2737()
-
-
Method Details
-
method_11661
- Mappings:
Namespace Name Mixin selector official cLawa;c(Lfy;)Zintermediary method_11661Lnet/minecraft/class_2737;method_11661(Lnet/minecraft/class_322;)Znamed method_11661Lnet/minecraft/block/entity/class_2737;method_11661(Lnet/minecraft/nbt/NbtCompound;)Z
-
method_11663
- Mappings:
Namespace Name Mixin selector official dLawa;d(Lfy;)Zintermediary method_11663Lnet/minecraft/class_2737;method_11663(Lnet/minecraft/class_322;)Znamed method_11663Lnet/minecraft/block/entity/class_2737;method_11663(Lnet/minecraft/nbt/NbtCompound;)Z
-
method_11662
- Mappings:
Namespace Name Mixin selector official dLawa;d(Laed;)Vintermediary method_11662Lnet/minecraft/class_2737;method_11662(Lnet/minecraft/class_988;)Vnamed method_11662Lnet/minecraft/block/entity/class_2737;method_11662(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getLootTableId
- Specified by:
getLootTableIdin interfaceclass_2964- Mappings:
Namespace Name Mixin selector official bLuj;b()Lnf;intermediary method_12936Lnet/minecraft/class_2964;method_12936()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/class_2964;getLootTableId()Lnet/minecraft/util/Identifier;
-
method_11660
- Mappings:
Namespace Name Mixin selector official aLawa;a(Lnf;J)Vintermediary method_11660Lnet/minecraft/class_2737;method_11660(Lnet/minecraft/class_1653;J)Vnamed method_11660Lnet/minecraft/block/entity/class_2737;method_11660(Lnet/minecraft/util/Identifier;J)V
-
hasCustomName
public boolean hasCustomName()- Specified by:
hasCustomNamein interfaceNameable- Mappings:
Namespace Name Mixin selector official n_Lui;n_()Zintermediary method_5339Lnet/minecraft/class_2611;method_5339()Znamed hasCustomNameLnet/minecraft/text/Nameable;hasCustomName()Z
-
method_13729
- Mappings:
Namespace Name Mixin selector official aLawa;a(Ljava/lang/String;)Vintermediary method_13729Lnet/minecraft/class_2737;method_13729(Ljava/lang/String;)Vnamed method_13729Lnet/minecraft/block/entity/class_2737;method_13729(Ljava/lang/String;)V
-
getInvStack
- Specified by:
getInvStackin interfaceInventory- Mappings:
Namespace Name Mixin selector official aLtv;a(I)Laip;intermediary method_2381Lnet/minecraft/class_849;method_2381(I)Lnet/minecraft/class_1071;named getInvStackLnet/minecraft/inventory/Inventory;getInvStack(I)Lnet/minecraft/item/ItemStack;
-
takeInvStack
- Specified by:
takeInvStackin interfaceInventory- Mappings:
Namespace Name Mixin selector official aLtv;a(II)Laip;intermediary method_2382Lnet/minecraft/class_849;method_2382(II)Lnet/minecraft/class_1071;named takeInvStackLnet/minecraft/inventory/Inventory;takeInvStack(II)Lnet/minecraft/item/ItemStack;
-
removeInvStack
- Specified by:
removeInvStackin interfaceInventory- Mappings:
Namespace Name Mixin selector official c_Ltv;c_(I)Laip;intermediary method_2386Lnet/minecraft/class_849;method_2386(I)Lnet/minecraft/class_1071;named removeInvStackLnet/minecraft/inventory/Inventory;removeInvStack(I)Lnet/minecraft/item/ItemStack;
-
setInvStack
- Specified by:
setInvStackin interfaceInventory- Mappings:
Namespace Name Mixin selector official aLtv;a(ILaip;)Vintermediary method_2383Lnet/minecraft/class_849;method_2383(ILnet/minecraft/class_1071;)Vnamed setInvStackLnet/minecraft/inventory/Inventory;setInvStack(ILnet/minecraft/item/ItemStack;)V
-
canPlayerUseInv
- Specified by:
canPlayerUseInvin interfaceInventory- Mappings:
Namespace Name Mixin selector official aLtv;a(Laed;)Zintermediary method_2384Lnet/minecraft/class_849;method_2384(Lnet/minecraft/class_988;)Znamed canPlayerUseInvLnet/minecraft/inventory/Inventory;canPlayerUseInv(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onInvOpen
- Specified by:
onInvOpenin interfaceInventory- Mappings:
Namespace Name Mixin selector official bLtv;b(Laed;)Vintermediary method_10894Lnet/minecraft/class_849;method_10894(Lnet/minecraft/class_988;)Vnamed onInvOpenLnet/minecraft/inventory/Inventory;onInvOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
-
onInvClose
- Specified by:
onInvClosein interfaceInventory- Mappings:
Namespace Name Mixin selector official cLtv;c(Laed;)Vintermediary method_10895Lnet/minecraft/class_849;method_10895(Lnet/minecraft/class_988;)Vnamed onInvCloseLnet/minecraft/inventory/Inventory;onInvClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-
isValidInvStack
- Specified by:
isValidInvStackin interfaceInventory- Mappings:
Namespace Name Mixin selector official bLtv;b(ILaip;)Zintermediary method_5338Lnet/minecraft/class_849;method_5338(ILnet/minecraft/class_1071;)Znamed isValidInvStackLnet/minecraft/inventory/Inventory;isValidInvStack(ILnet/minecraft/item/ItemStack;)Z
-
getProperty
public int getProperty(int key) - Specified by:
getPropertyin interfaceInventory- Mappings:
Namespace Name Mixin selector official cLtv;c(I)Iintermediary method_10892Lnet/minecraft/class_849;method_10892(I)Inamed getPropertyLnet/minecraft/inventory/Inventory;getProperty(I)I
-
setProperty
public void setProperty(int id, int value) - Specified by:
setPropertyin interfaceInventory- Mappings:
Namespace Name Mixin selector official bLtv;b(II)Vintermediary method_10893Lnet/minecraft/class_849;method_10893(II)Vnamed setPropertyLnet/minecraft/inventory/Inventory;setProperty(II)V
-
getProperties
public int getProperties()- Specified by:
getPropertiesin interfaceInventory- Mappings:
Namespace Name Mixin selector official hLtv;h()Iintermediary method_10896Lnet/minecraft/class_849;method_10896()Inamed getPropertiesLnet/minecraft/inventory/Inventory;getProperties()I
-
clear
public void clear() -
method_13730
- Mappings:
Namespace Name Mixin selector official qLawa;q()Lfi;intermediary method_13730Lnet/minecraft/class_2737;method_13730()Lnet/minecraft/class_3114;named method_13730Lnet/minecraft/block/entity/class_2737;method_13730()Lnet/minecraft/util/collection/DefaultedList;
-