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 cgmintermediary 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()voidfromTag(CompoundTag tag)ItemStackgetRecord()voidsetRecord(ItemStack stack)CompoundTagtoTag(CompoundTag tag)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacket
-
Field Details
-
record
- Mappings:
Namespace Name Mixin selector official aLcgm;a:Lbnw;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>Lcgm;<init>(Lfx;Lchu;)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
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfs;a(Lmq;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed fromTagLnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfs;b(Lmq;)Lmq;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getRecord
- Mappings:
Namespace Name Mixin selector official dLcgm;d()Lbnw;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 aLcgm;a(Lbnw;)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()
-