Package net.minecraft.block.entity
Class SculkCatalystBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkCatalystBlockEntity
- All Implemented Interfaces:
GameEventListener.Holder<SculkCatalystBlockEntity.Listener>
public class SculkCatalystBlockEntity
extends BlockEntity
implements GameEventListener.Holder<SculkCatalystBlockEntity.Listener>
- Mappings:
Namespace Name official ddz
intermediary net/minecraft/class_7132
named net/minecraft/block/entity/SculkCatalystBlockEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
readNbt
(NbtCompound nbt) Reads data fromnbt
.static void
tick
(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) protected void
writeNbt
(NbtCompound nbt) Writes data tonbt
.Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
-
Field Details
-
eventListener
- Mappings:
Namespace Name Mixin selector official a
Lddz;a:Lddz$a;
intermediary field_44610
Lnet/minecraft/class_7132;field_44610:Lnet/minecraft/class_7132$class_8510;
named eventListener
Lnet/minecraft/block/entity/SculkCatalystBlockEntity;eventListener:Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;
-
-
Constructor Details
-
SculkCatalystBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lddz;<init>(Lgw;Ldfj;)V
intermediary <init>
Lnet/minecraft/class_7132;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/SculkCatalystBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
tick
public static void tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official a
Lddz;a(Lcpv;Lgw;Ldfj;Lddz;)V
intermediary method_41517
Lnet/minecraft/class_7132;method_41517(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_7132;)V
named tick
Lnet/minecraft/block/entity/SculkCatalystBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/SculkCatalystBlockEntity;)V
-
readNbt
Reads data fromnbt
. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readNbt
in classBlockEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldcv;a(Lqw;)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
Writes data tonbt
. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
- Overrides:
writeNbt
in classBlockEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldcv;b(Lqw;)V
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getEventListener
- Specified by:
getEventListener
in interfaceGameEventListener.Holder<SculkCatalystBlockEntity.Listener>
- Mappings:
Namespace Name Mixin selector official c
Lddz;c()Lddz$a;
intermediary method_51357
Lnet/minecraft/class_7132;method_51357()Lnet/minecraft/class_7132$class_8510;
named getEventListener
Lnet/minecraft/block/entity/SculkCatalystBlockEntity;getEventListener()Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;
-