Package net.minecraft.block.entity
Class SculkCatalystBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkCatalystBlockEntity
- All Implemented Interfaces:
GameEventListener
- Mappings:
Namespace Name official cytintermediary net/minecraft/class_7132named net/minecraft/block/entity/SculkCatalystBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.event.listener.GameEventListener
GameEventListener.TriggerOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockPositionSourceprivate final SculkSpreadManagerFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the position source of this listener.intgetRange()Returns the range, in blocks, of the listener.booleanlisten(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.voidreadNbt(NbtCompound nbt) Reads data fromnbt.static voidtick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) private voidtriggerCriteria(LivingEntity deadEntity) protected voidwriteNbt(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
-
positionSource
- Mappings:
Namespace Name Mixin selector official aLcyt;a:Ldeg;intermediary field_37649Lnet/minecraft/class_7132;field_37649:Lnet/minecraft/class_5707;named positionSourceLnet/minecraft/block/entity/SculkCatalystBlockEntity;positionSource:Lnet/minecraft/world/event/BlockPositionSource;
-
spreadManager
- Mappings:
Namespace Name Mixin selector official bLcyt;b:Lcuq;intermediary field_37650Lnet/minecraft/class_7132;field_37650:Lnet/minecraft/class_7128;named spreadManagerLnet/minecraft/block/entity/SculkCatalystBlockEntity;spreadManager:Lnet/minecraft/block/entity/SculkSpreadManager;
-
-
Constructor Details
-
SculkCatalystBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcyt;<init>(Lgp;Ldab;)Vintermediary <init>Lnet/minecraft/class_7132;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/SculkCatalystBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSourcein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official aLdem;a()Ldeo;intermediary method_32946Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;named getPositionSourceLnet/minecraft/world/event/listener/GameEventListener;getPositionSource()Lnet/minecraft/world/event/PositionSource;
-
getRange
public int getRange()Returns the range, in blocks, of the listener.- Specified by:
getRangein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official bLdem;b()Iintermediary method_32948Lnet/minecraft/class_5714;method_32948()Inamed getRangeLnet/minecraft/world/event/listener/GameEventListener;getRange()I
-
getTriggerOrder
- Specified by:
getTriggerOrderin interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official cLdem;c()Ldem$a;intermediary method_45472Lnet/minecraft/class_5714;method_45472()Lnet/minecraft/class_5714$class_7720;named getTriggerOrderLnet/minecraft/world/event/listener/GameEventListener;getTriggerOrder()Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;
-
listen
public boolean listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.- Specified by:
listenin interfaceGameEventListener- Returns:
trueif the game event has been accepted by this listener- Mappings:
Namespace Name Mixin selector official aLdem;a(Laid;Ldek;Ldek$a;Lebm;)Zintermediary method_32947Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Znamed listenLnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)Z
-
triggerCriteria
- Mappings:
Namespace Name Mixin selector official aLcyt;a(Lbfa;)Vintermediary method_45471Lnet/minecraft/class_7132;method_45471(Lnet/minecraft/class_1309;)Vnamed triggerCriteriaLnet/minecraft/block/entity/SculkCatalystBlockEntity;triggerCriteria(Lnet/minecraft/entity/LivingEntity;)V
-
tick
public static void tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official aLcyt;a(Lcle;Lgp;Ldab;Lcyt;)Vintermediary method_41517Lnet/minecraft/class_7132;method_41517(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_7132;)Vnamed tickLnet/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.
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 official aLcxt;a(Lqv;)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
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 official bLcxt;b(Lqv;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getSpreadManager
- Mappings:
Namespace Name Mixin selector official dLcyt;d()Lcuq;intermediary method_41519Lnet/minecraft/class_7132;method_41519()Lnet/minecraft/class_7128;named getSpreadManagerLnet/minecraft/block/entity/SculkCatalystBlockEntity;getSpreadManager()Lnet/minecraft/block/entity/SculkSpreadManager;
-