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 named net/minecraft/block/entity/SculkCatalystBlockEntityintermediary net/minecraft/class_7132official dro
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.block.entity.BlockEntity
BlockEntity.ComponentsAccess -
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.static voidtick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) protected voidwriteNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.Methods inherited from class net.minecraft.block.entity.BlockEntity
addComponents, cancelRemoval, copyItemDataRequiresOperator, createComponentlessNbt, createComponentlessNbtWithIdentifyingData, createComponentMap, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getComponents, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, read, readComponentlessNbt, readComponents, readComponents, readComponents, removeFromCopiedStackNbt, setCachedState, setComponents, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, tryParseCustomName, writeIdToNbt
-
Field Details
-
eventListener
- Mappings:
Namespace Name Mixin selector named eventListenerLnet/minecraft/block/entity/SculkCatalystBlockEntity;eventListener:Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;intermediary field_44610Lnet/minecraft/class_7132;field_44610:Lnet/minecraft/class_7132$class_8510;official aLdro;a:Ldro$a;
-
-
Constructor Details
-
SculkCatalystBlockEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/entity/SculkCatalystBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary <init>Lnet/minecraft/class_7132;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial <init>Ldro;<init>(Ljd;Ldtc;)V
-
-
Method Details
-
tick
public static void tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/block/entity/SculkCatalystBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/SculkCatalystBlockEntity;)Vintermediary method_41517Lnet/minecraft/class_7132;method_41517(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_7132;)Vofficial aLdro;a(Ldcw;Ljd;Ldtc;Ldro;)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.
nbtmight 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:
readNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vofficial aLdqh;a(Lub;Ljo$a;)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:
writeNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vofficial bLdqh;b(Lub;Ljo$a;)V
-
getEventListener
- Specified by:
getEventListenerin interfaceGameEventListener.Holder<SculkCatalystBlockEntity.Listener>- Mappings:
Namespace Name Mixin selector named getEventListenerLnet/minecraft/block/entity/SculkCatalystBlockEntity;getEventListener()Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;intermediary method_51357Lnet/minecraft/class_7132;method_51357()Lnet/minecraft/class_7132$class_8510;official bLdro;b()Ldro$a;
-