Package net.minecraft.block.entity
Class JukeboxBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.JukeboxBlockEntity
- All Implemented Interfaces:
Clearable
public class JukeboxBlockEntity extends BlockEntity implements Clearable
- Mappings:
Namespace Name official chgintermediary net/minecraft/class_2619named net/minecraft/block/entity/JukeboxBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description JukeboxBlockEntity(BlockPos pos, BlockState state) -
Method Summary
Modifier and Type Method Description voidclear()ItemStackgetRecord()voidreadNbt(CompoundTag tag)voidsetRecord(ItemStack stack)CompoundTagwriteNbt(CompoundTag tag)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataNbt, toUpdatePacket
-
Field Details
-
record
- Mappings:
Namespace Name Mixin selector official aLchg;a:Lboq;intermediary field_12031Lnet/minecraft/class_2619;field_12031:Lnet/minecraft/class_1799;named recordLnet/minecraft/block/entity/JukeboxBlockEntity;record:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
JukeboxBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lchg;<init>(Lfx;Lcio;)Vintermediary <init>Lnet/minecraft/class_2619;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/JukeboxBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
readNbt
- Overrides:
readNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcgm;a(Lmr;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
writeNbt
- Overrides:
writeNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcgm;b(Lmr;)Lmr;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getRecord
- Mappings:
Namespace Name Mixin selector official dLchg;d()Lboq;intermediary method_11275Lnet/minecraft/class_2619;method_11275()Lnet/minecraft/class_1799;named getRecordLnet/minecraft/block/entity/JukeboxBlockEntity;getRecord()Lnet/minecraft/item/ItemStack;
-
setRecord
- Mappings:
Namespace Name Mixin selector official aLchg;a(Lboq;)Vintermediary method_11276Lnet/minecraft/class_2619;method_11276(Lnet/minecraft/class_1799;)Vnamed setRecordLnet/minecraft/block/entity/JukeboxBlockEntity;setRecord(Lnet/minecraft/item/ItemStack;)V
-
clear
public void clear()
-