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 cgl
intermediary net/minecraft/class_2619
named 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 void
clear()
void
fromTag(CompoundTag tag)
ItemStack
getRecord()
void
setRecord(ItemStack stack)
CompoundTag
toTag(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 a
Lcgl;a:Lbnv;
intermediary field_12031
Lnet/minecraft/class_2619;field_12031:Lnet/minecraft/class_1799;
named record
Lnet/minecraft/block/entity/JukeboxBlockEntity;record:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
JukeboxBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcgl;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2619;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/JukeboxBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
fromTag
- Overrides:
fromTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getRecord
- Mappings:
Namespace Name Mixin selector official d
Lcgl;d()Lbnv;
intermediary method_11275
Lnet/minecraft/class_2619;method_11275()Lnet/minecraft/class_1799;
named getRecord
Lnet/minecraft/block/entity/JukeboxBlockEntity;getRecord()Lnet/minecraft/item/ItemStack;
-
setRecord
- Mappings:
Namespace Name Mixin selector official a
Lcgl;a(Lbnv;)V
intermediary method_11276
Lnet/minecraft/class_2619;method_11276(Lnet/minecraft/class_1799;)V
named setRecord
Lnet/minecraft/block/entity/JukeboxBlockEntity;setRecord(Lnet/minecraft/item/ItemStack;)V
-
clear
public void clear()
-