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 delintermediary net/minecraft/class_2608named net/minecraft/block/entity/DropperBlockEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.DispenserBlockEntity
INVENTORY_SIZEFields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
LOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeedFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, worldFields inherited from interface net.minecraft.inventory.Inventory
field_42619, MAX_COUNT_PER_STACK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TextvoidbooleanvoidreadNbt(NbtCompound nbt) Reads data fromnbt.protected voidwriteNbt(NbtCompound nbt) Writes data tonbt.Methods inherited from class net.minecraft.block.entity.DispenserBlockEntity
addToFirstFreeSlot, chooseNonEmptySlot, createScreenHandler, getInvStackList, setInvStackList, sizeMethods inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStackMethods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomNameMethods 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, writeIdToNbtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, isValid, markDirty, onClose, onOpenMethods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Field Details
-
field_44244
private boolean field_44244- Mappings:
Namespace Name Mixin selector official fLdel;f:Zintermediary field_44244Lnet/minecraft/class_2608;field_44244:Znamed field_44244Lnet/minecraft/block/entity/DropperBlockEntity;field_44244:Z
-
-
Constructor Details
-
DropperBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Ldek;<init>(Lgt;Ldgh;)Vintermediary <init>Lnet/minecraft/class_2601;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/DispenserBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getContainerName
- Overrides:
getContainerNamein classDispenserBlockEntity- Mappings:
Namespace Name Mixin selector official gLddn;g()Lsw;intermediary method_17823Lnet/minecraft/class_2624;method_17823()Lnet/minecraft/class_2561;named getContainerNameLnet/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.
nbtmight 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:
readNbtin classDispenserBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLddt;a(Lqr;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_50888
public void method_50888()- Mappings:
Namespace Name Mixin selector official iLdel;i()Vintermediary method_50888Lnet/minecraft/class_2608;method_50888()Vnamed method_50888Lnet/minecraft/block/entity/DropperBlockEntity;method_50888()V
-
method_50889
public boolean method_50889()- Mappings:
Namespace Name Mixin selector official jLdel;j()Zintermediary method_50889Lnet/minecraft/class_2608;method_50889()Znamed method_50889Lnet/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:
writeNbtin classDispenserBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLddt;b(Lqr;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-