Class MobSpawnerBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity

public class MobSpawnerBlockEntity
extends BlockEntity
Mappings:
Namespace Name
official cgu
intermediary net/minecraft/class_2636
named net/minecraft/block/entity/MobSpawnerBlockEntity
  • Field Details

    • logic

      private final MobSpawnerLogic logic
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a:Lbsw;
      intermediary field_12114 Lnet/minecraft/class_2636;field_12114:Lnet/minecraft/class_1917;
      named logic Lnet/minecraft/block/entity/MobSpawnerBlockEntity;logic:Lnet/minecraft/world/MobSpawnerLogic;
  • Constructor Details

    • MobSpawnerBlockEntity

      public MobSpawnerBlockEntity​(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgu;<init>(Lfx;Lcht;)V
      intermediary <init> Lnet/minecraft/class_2636;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/MobSpawnerBlockEntity;<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;
    • clientTick

      public static void clientTick​(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgu;a(Lbtv;Lfx;Lcht;Lcgu;)V
      intermediary method_31696 Lnet/minecraft/class_2636;method_31696(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2636;)V
      named clientTick Lnet/minecraft/block/entity/MobSpawnerBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/MobSpawnerBlockEntity;)V
    • serverTick

      public static void serverTick​(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcgu;b(Lbtv;Lfx;Lcht;Lcgu;)V
      intermediary method_31697 Lnet/minecraft/class_2636;method_31697(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2636;)V
      named serverTick Lnet/minecraft/block/entity/MobSpawnerBlockEntity;serverTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/MobSpawnerBlockEntity;)V
    • toUpdatePacket

      @Nullable public BlockEntityUpdateS2CPacket toUpdatePacket()
      Overrides:
      toUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcfr;a()Lpo;
      intermediary method_16886 Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
      named toUpdatePacket Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • toInitialChunkDataTag

      public CompoundTag toInitialChunkDataTag()
      Overrides:
      toInitialChunkDataTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcfr;b()Lmq;
      intermediary method_16887 Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
      named toInitialChunkDataTag Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
    • onSyncedBlockEvent

      public boolean onSyncedBlockEvent​(int type, int data)
      Overrides:
      onSyncedBlockEvent in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcfr;a_(II)Z
      intermediary method_11004 Lnet/minecraft/class_2586;method_11004(II)Z
      named onSyncedBlockEvent Lnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
    • copyItemDataRequiresOperator

      public boolean copyItemDataRequiresOperator()
      Overrides:
      copyItemDataRequiresOperator in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lcfr;r()Z
      intermediary method_11011 Lnet/minecraft/class_2586;method_11011()Z
      named copyItemDataRequiresOperator Lnet/minecraft/block/entity/BlockEntity;copyItemDataRequiresOperator()Z
    • getLogic

      public MobSpawnerLogic getLogic()
      Mappings:
      Namespace Name Mixin selector
      official d Lcgu;d()Lbsw;
      intermediary method_11390 Lnet/minecraft/class_2636;method_11390()Lnet/minecraft/class_1917;
      named getLogic Lnet/minecraft/block/entity/MobSpawnerBlockEntity;getLogic()Lnet/minecraft/world/MobSpawnerLogic;