Package net.minecraft.block.entity
Class MobSpawnerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity
- Mappings:
Namespace Name official cjsintermediary net/minecraft/class_2636named net/minecraft/block/entity/MobSpawnerBlockEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)booleangetLogic()booleanonSyncedBlockEvent(int type, int data)voidreadNbt(NbtCompound nbt)static voidserverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)writeNbt(NbtCompound nbt)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld
-
Field Details
-
logic
- Mappings:
Namespace Name Mixin selector official aLcjs;a:Lbvq;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>Lcjs;<init>(Lgg;Lcks;)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
-
readNbt
- Overrides:
readNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcip;a(Lna;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeNbt
- Overrides:
writeNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcip;b(Lna;)Lna;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
clientTick
public static void clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official aLcjs;a(Lbwp;Lgg;Lcks;Lcjs;)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 bLcjs;b(Lbwp;Lgg;Lcks;Lcjs;)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 Y_Lcip;Y_()Lpy;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;
-
toInitialChunkDataNbt
- Overrides:
toInitialChunkDataNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official Z_Lcip;Z_()Lna;intermediary method_16887Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;named toInitialChunkDataNbtLnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/NbtCompound;
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data)- Overrides:
onSyncedBlockEventin classBlockEntity- Mappings:
Namespace Name Mixin selector official a_Lcip;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 qLcip;q()Zintermediary method_11011Lnet/minecraft/class_2586;method_11011()Znamed copyItemDataRequiresOperatorLnet/minecraft/block/entity/BlockEntity;copyItemDataRequiresOperator()Z
-
getLogic
- Mappings:
Namespace Name Mixin selector official dLcjs;d()Lbvq;intermediary method_11390Lnet/minecraft/class_2636;method_11390()Lnet/minecraft/class_1917;named getLogicLnet/minecraft/block/entity/MobSpawnerBlockEntity;getLogic()Lnet/minecraft/world/MobSpawnerLogic;
-