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 Details

    • record

      private ItemStack 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

      public JukeboxBlockEntity​(BlockPos pos, BlockState state)
      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

      public void fromTag​(CompoundTag tag)
      Overrides:
      fromTag in class BlockEntity
      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

      public CompoundTag toTag​(CompoundTag tag)
      Overrides:
      toTag in class BlockEntity
      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

      public ItemStack 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

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