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

    • record

      private ItemStack record
      Mappings:
      Namespace Name Mixin selector
      official a Lcmt;a:Lbue;
      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> Lcmt;<init>(Lgh;Lcoc;)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 Lclz;a(Loc;)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 Lclz;b(Loc;)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 Lcmt;c()Lbue;
      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 Lcmt;a(Lbue;)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 Lavh;a()V
      intermediary method_5448 Lnet/minecraft/class_3829;method_5448()V
      named clear Lnet/minecraft/util/Clearable;clear()V