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 cnl
intermediary net/minecraft/class_2619
named net/minecraft/block/entity/JukeboxBlockEntity
  • Field Details

    • record

      private ItemStack record
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a:Lbuw;
      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

      public JukeboxBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnl;<init>(Lgj;Lcov;)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

    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcmr;a(Lok;)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
    • writeNbt

      protected void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcmr;b(Lok;)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
    • getRecord

      public ItemStack getRecord()
      Mappings:
      Namespace Name Mixin selector
      official c Lcnl;c()Lbuw;
      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

      public void setRecord(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnl;a(Lbuw;)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()
      Specified by:
      clear in interface Clearable
      Mappings:
      Namespace Name Mixin selector
      official a Lavy;a()V
      intermediary method_5448 Lnet/minecraft/class_3829;method_5448()V
      named clear Lnet/minecraft/util/Clearable;clear()V