Package net.minecraft.block.entity
Class MobSpawnerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity
- Mappings:
Namespace Name official cjs
intermediary net/minecraft/class_2636
named net/minecraft/block/entity/MobSpawnerBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clientTick
(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) boolean
getLogic()
boolean
onSyncedBlockEvent
(int type, int data) void
readNbt
(NbtCompound nbt) static void
serverTick
(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 a
Lcjs;a:Lbvq;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lcjs;<init>(Lgg;Lcks;)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
-
readNbt
- Overrides:
readNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcip;a(Lna;)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/NbtCompound;)V
-
writeNbt
- Overrides:
writeNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcip;b(Lna;)Lna;
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/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
clientTick
public static void clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official a
Lcjs;a(Lbwp;Lgg;Lcks;Lcjs;)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
Lcjs;b(Lbwp;Lgg;Lcks;Lcjs;)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
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official Y_
Lcip;Y_()Lpy;
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
- Overrides:
toInitialChunkDataNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official Z_
Lcip;Z_()Lna;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataNbt
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/NbtCompound;
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data) - Overrides:
onSyncedBlockEvent
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a_
Lcip;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 classBlockEntity
- Mappings:
Namespace Name Mixin selector official q
Lcip;q()Z
intermediary method_11011
Lnet/minecraft/class_2586;method_11011()Z
named copyItemDataRequiresOperator
Lnet/minecraft/block/entity/BlockEntity;copyItemDataRequiresOperator()Z
-
getLogic
- Mappings:
Namespace Name Mixin selector official d
Lcjs;d()Lbvq;
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;
-