Package net.minecraft.block.entity
Class MobSpawnerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity
public class MobSpawnerBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cguintermediary net/minecraft/class_2636named net/minecraft/block/entity/MobSpawnerBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private MobSpawnerLogiclogicFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description MobSpawnerBlockEntity(BlockPos pos, BlockState state) -
Method Summary
Modifier and Type Method Description static voidclientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)booleancopyItemDataRequiresOperator()voidfromTag(CompoundTag tag)MobSpawnerLogicgetLogic()booleanonSyncedBlockEvent(int type, int data)static voidserverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)CompoundTagtoInitialChunkDataTag()CompoundTagtoTag(CompoundTag tag)BlockEntityUpdateS2CPackettoUpdatePacket()Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld
-
Field Details
-
logic
- Mappings:
Namespace Name Mixin selector official aLcgu;a:Lbsw;intermediary field_12114Lnet/minecraft/class_2636;field_12114:Lnet/minecraft/class_1917;named logicLnet/minecraft/block/entity/MobSpawnerBlockEntity;logic:Lnet/minecraft/world/MobSpawnerLogic;
-
-
Constructor Details
-
MobSpawnerBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcgu;<init>(Lfx;Lcht;)Vintermediary <init>Lnet/minecraft/class_2636;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/MobSpawnerBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lmq;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed fromTagLnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfr;b(Lmq;)Lmq;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/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 aLcgu;a(Lbtv;Lfx;Lcht;Lcgu;)Vintermediary method_31696Lnet/minecraft/class_2636;method_31696(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2636;)Vnamed clientTickLnet/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 bLcgu;b(Lbtv;Lfx;Lcht;Lcgu;)Vintermediary method_31697Lnet/minecraft/class_2636;method_31697(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2636;)Vnamed serverTickLnet/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
- Overrides:
toUpdatePacketin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfr;a()Lpo;intermediary method_16886Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;named toUpdatePacketLnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfr;b()Lmq;intermediary method_16887Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;named toInitialChunkDataTagLnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data)- Overrides:
onSyncedBlockEventin classBlockEntity- Mappings:
Namespace Name Mixin selector official a_Lcfr;a_(II)Zintermediary method_11004Lnet/minecraft/class_2586;method_11004(II)Znamed onSyncedBlockEventLnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
copyItemDataRequiresOperator
public boolean copyItemDataRequiresOperator()- Overrides:
copyItemDataRequiresOperatorin classBlockEntity- Mappings:
Namespace Name Mixin selector official rLcfr;r()Zintermediary method_11011Lnet/minecraft/class_2586;method_11011()Znamed copyItemDataRequiresOperatorLnet/minecraft/block/entity/BlockEntity;copyItemDataRequiresOperator()Z
-
getLogic
- Mappings:
Namespace Name Mixin selector official dLcgu;d()Lbsw;intermediary method_11390Lnet/minecraft/class_2636;method_11390()Lnet/minecraft/class_1917;named getLogicLnet/minecraft/block/entity/MobSpawnerBlockEntity;getLogic()Lnet/minecraft/world/MobSpawnerLogic;
-