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 all
intermediary net/minecraft/class_364
named net/minecraft/block/entity/MobSpawnerBlockEntity
  • Field Details

    • field_1456

      private final SpawnerBlockEntityBehavior field_1456
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a:Ladd;
      intermediary field_1456 Lnet/minecraft/class_364;field_1456:Lnet/minecraft/class_88;
      named field_1456 Lnet/minecraft/block/entity/MobSpawnerBlockEntity;field_1456:Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;
  • Constructor Details

    • MobSpawnerBlockEntity

      public MobSpawnerBlockEntity()
  • Method Details

    • fromTag

      public void fromTag​(CompoundTag tag)
      Overrides:
      fromTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lakw;a(Ldn;)V
      intermediary method_1098 Lnet/minecraft/class_348;method_1098(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • toTag

      public void toTag​(CompoundTag tag)
      Overrides:
      toTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lakw;b(Ldn;)V
      intermediary method_1100 Lnet/minecraft/class_348;method_1100(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official c Lkm;c()V
      intermediary method_5945 Lnet/minecraft/class_1618;method_5945()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • getPacket

      public Packet getPacket()
      Overrides:
      getPacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official y_ Lakw;y_()Lff;
      intermediary method_1111 Lnet/minecraft/class_348;method_1111()Lnet/minecraft/class_1457;
      named getPacket Lnet/minecraft/block/entity/BlockEntity;getPacket()Lnet/minecraft/network/Packet;
    • onBlockAction

      public boolean onBlockAction​(int int2, int int3)
      Overrides:
      onBlockAction in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lakw;c(II)Z
      intermediary method_1101 Lnet/minecraft/class_348;method_1101(II)Z
      named onBlockAction Lnet/minecraft/block/entity/BlockEntity;onBlockAction(II)Z
    • shouldNotCopyTagFromItem

      public boolean shouldNotCopyTagFromItem()
      Overrides:
      shouldNotCopyTagFromItem in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official F Lakw;F()Z
      intermediary method_1092 Lnet/minecraft/class_348;method_1092()Z
      named shouldNotCopyTagFromItem Lnet/minecraft/block/entity/BlockEntity;shouldNotCopyTagFromItem()Z
    • method_1174

      public SpawnerBlockEntityBehavior method_1174()
      Mappings:
      Namespace Name Mixin selector
      official b Lall;b()Ladd;
      intermediary method_1174 Lnet/minecraft/class_364;method_1174()Lnet/minecraft/class_88;
      named method_1174 Lnet/minecraft/block/entity/MobSpawnerBlockEntity;method_1174()Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;