Class MobSpawnerBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity
All Implemented Interfaces:
Tickable

public class MobSpawnerBlockEntity extends BlockEntity implements Tickable
Mappings:
Namespace Name
official asr
intermediary net/minecraft/class_222
named net/minecraft/block/entity/MobSpawnerBlockEntity
  • Field Details

    • field_5663

      private final SpawnerBlockEntityBehavior field_5663
      Mappings:
      Namespace Name Mixin selector
      official a Lasr;a:Laji;
      intermediary field_5663 Lnet/minecraft/class_222;field_5663:Lnet/minecraft/class_1586;
      named field_5663 Lnet/minecraft/block/entity/MobSpawnerBlockEntity;field_5663:Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;
  • Constructor Details

    • MobSpawnerBlockEntity

      public MobSpawnerBlockEntity()
  • Method Details

    • method_13331

      public static void method_13331(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lasr;a(Lph;)V
      intermediary method_13331 Lnet/minecraft/class_222;method_13331(Lnet/minecraft/class_2934;)V
      named method_13331 Lnet/minecraft/block/entity/MobSpawnerBlockEntity;method_13331(Lnet/minecraft/class_2934;)V
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lasc;a(Ldu;)V
      intermediary method_537 Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_541

      public NbtCompound method_541(NbtCompound nbtCompound)
      Overrides:
      method_541 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lasc;b(Ldu;)Ldu;
      intermediary method_541 Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named method_541 Lnet/minecraft/block/entity/BlockEntity;method_541(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official F_ Llf;F_()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • getUpdatePacket

      @Nullable public BlockEntityUpdateS2CPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lasc;c()Lfz;
      intermediary method_544 Lnet/minecraft/class_226;method_544()Lnet/minecraft/class_2003;
      named getUpdatePacket Lnet/minecraft/block/entity/BlockEntity;getUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • method_11646

      public NbtCompound method_11646()
      Overrides:
      method_11646 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lasc;d()Ldu;
      intermediary method_11646 Lnet/minecraft/class_226;method_11646()Lnet/minecraft/class_322;
      named method_11646 Lnet/minecraft/block/entity/BlockEntity;method_11646()Lnet/minecraft/nbt/NbtCompound;
    • onBlockAction

      public boolean onBlockAction(int int2, int int3)
      Overrides:
      onBlockAction in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lasc;c(II)Z
      intermediary method_4838 Lnet/minecraft/class_226;method_4838(II)Z
      named onBlockAction Lnet/minecraft/block/entity/BlockEntity;onBlockAction(II)Z
    • shouldNotCopyNbtFromItem

      public boolean shouldNotCopyNbtFromItem()
      Overrides:
      shouldNotCopyNbtFromItem in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lasc;C()Z
      intermediary method_8981 Lnet/minecraft/class_226;method_8981()Z
      named shouldNotCopyNbtFromItem Lnet/minecraft/block/entity/BlockEntity;shouldNotCopyNbtFromItem()Z
    • getLogic

      public SpawnerBlockEntityBehavior getLogic()
      Mappings:
      Namespace Name Mixin selector
      official a Lasr;a()Laji;
      intermediary method_4837 Lnet/minecraft/class_222;method_4837()Lnet/minecraft/class_1586;
      named getLogic Lnet/minecraft/block/entity/MobSpawnerBlockEntity;getLogic()Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;