Package net.minecraft.block.entity
Class DropperBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.block.entity.DispenserBlockEntity
net.minecraft.block.entity.DropperBlockEntity
- All Implemented Interfaces:
Inventory
,NamedScreenHandlerFactory
,ScreenHandlerFactory
,Clearable
,Nameable
- Mappings:
Namespace Name official del
intermediary net/minecraft/class_2608
named net/minecraft/block/entity/DropperBlockEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.DispenserBlockEntity
INVENTORY_SIZE
Fields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
LOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeed
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
Fields inherited from interface net.minecraft.inventory.Inventory
field_42619, MAX_COUNT_PER_STACK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Text
void
boolean
void
readNbt
(NbtCompound nbt) Reads data fromnbt
.protected void
writeNbt
(NbtCompound nbt) Writes data tonbt
.Methods inherited from class net.minecraft.block.entity.DispenserBlockEntity
addToFirstFreeSlot, chooseNonEmptySlot, createScreenHandler, getInvStackList, setInvStackList, size
Methods inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStack
Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomName
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.Inventory
canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, isValid, markDirty, onClose, onOpen
Methods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Field Details
-
field_44244
private boolean field_44244- Mappings:
Namespace Name Mixin selector official f
Ldel;f:Z
intermediary field_44244
Lnet/minecraft/class_2608;field_44244:Z
named field_44244
Lnet/minecraft/block/entity/DropperBlockEntity;field_44244:Z
-
-
Constructor Details
-
DropperBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Ldek;<init>(Lgt;Ldgh;)V
intermediary <init>
Lnet/minecraft/class_2601;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/DispenserBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getContainerName
- Overrides:
getContainerName
in classDispenserBlockEntity
- Mappings:
Namespace Name Mixin selector official g
Lddn;g()Lsw;
intermediary method_17823
Lnet/minecraft/class_2624;method_17823()Lnet/minecraft/class_2561;
named getContainerName
Lnet/minecraft/block/entity/LockableContainerBlockEntity;getContainerName()Lnet/minecraft/text/Text;
-
readNbt
Reads data fromnbt
. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readNbt
in classDispenserBlockEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lddt;a(Lqr;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named readNbt
Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_50888
public void method_50888()- Mappings:
Namespace Name Mixin selector official i
Ldel;i()V
intermediary method_50888
Lnet/minecraft/class_2608;method_50888()V
named method_50888
Lnet/minecraft/block/entity/DropperBlockEntity;method_50888()V
-
method_50889
public boolean method_50889()- Mappings:
Namespace Name Mixin selector official j
Ldel;j()Z
intermediary method_50889
Lnet/minecraft/class_2608;method_50889()Z
named method_50889
Lnet/minecraft/block/entity/DropperBlockEntity;method_50889()Z
-
writeNbt
Writes data tonbt
. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
- Overrides:
writeNbt
in classDispenserBlockEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lddt;b(Lqr;)V
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-