类 MobSpawnerBlockEntity


  • public class MobSpawnerBlockEntity
    extends BlockEntity
    Mappings:
    Namespace Name
    official cis
    intermediary net/minecraft/class_2636
    named net/minecraft/block/entity/MobSpawnerBlockEntity
    • 字段详细资料

      • logic

        private final MobSpawnerLogic logic
        Mappings:
        Namespace Name Mixin selector
        official a Lcis;a:Lbus;
        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;
    • 构造器详细资料

      • MobSpawnerBlockEntity

        public MobSpawnerBlockEntity​(BlockPos pos,
                                     BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcis;<init>(Lgb;Lcjr;)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
    • 方法详细资料

      • readNbt

        public void readNbt​(CompoundTag nbt)
        覆盖:
        readNbt 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lchp;a(Lmv;)V
        intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
        named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • writeNbt

        public CompoundTag writeNbt​(CompoundTag nbt)
        覆盖:
        writeNbt 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lchp;b(Lmv;)Lmv;
        intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
        named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(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 Lcis;a(Lbvr;Lgb;Lcjr;Lcis;)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 Lcis;b(Lbvr;Lgb;Lcjr;Lcis;)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 @Nullable BlockEntityUpdateS2CPacket toUpdatePacket()
        覆盖:
        toUpdatePacket 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lchp;a()Lpt;
        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;
      • toInitialChunkDataNbt

        public CompoundTag toInitialChunkDataNbt()
        覆盖:
        toInitialChunkDataNbt 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lchp;b()Lmv;
        intermediary method_16887 Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
        named toInitialChunkDataNbt Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/CompoundTag;
      • onSyncedBlockEvent

        public boolean onSyncedBlockEvent​(int type,
                                          int data)
        覆盖:
        onSyncedBlockEvent 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official a_ Lchp;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()
        覆盖:
        copyItemDataRequiresOperator 在类中 BlockEntity
        Mappings:
        Namespace Name Mixin selector
        official q Lchp;q()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 Lcis;d()Lbus;
        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;