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 bke
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 Lbke;a:Laxi;
      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

    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbji;b(Lgy;)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 a Lbji;a(Lgy;)Lgy;
      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 Y_ Lpt;Y_()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 Z_ Lbji;Z_()Lji;
      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 aa_ Lbji;aa_()Lgy;
      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 Lbji;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 B Lbji;B()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 c Lbke;c()Laxi;
      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;