Package net.minecraft.block.entity
Class SculkCatalystBlockEntity.Listener
java.lang.Object
net.minecraft.block.entity.SculkCatalystBlockEntity.Listener
- All Implemented Interfaces:
GameEventListener
- Enclosing class:
SculkCatalystBlockEntity
- Mappings:
Namespace Name official dia$a
intermediary net/minecraft/class_7132$class_8510
named net/minecraft/block/entity/SculkCatalystBlockEntity$Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.event.listener.GameEventListener
GameEventListener.Holder<T extends GameEventListener>, GameEventListener.TriggerOrder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PositionSource
static final int
(package private) final SculkSpreadManager
private final BlockState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
bloom
(ServerWorld world, BlockPos pos, BlockState state, Random random) Returns the position source of this listener.int
getRange()
Returns the range, in blocks, of the listener.boolean
listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private void
triggerCriteria
(World world, LivingEntity deadEntity)
-
Field Details
-
RANGE
public static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldia$a;a:I
intermediary field_44611
Lnet/minecraft/class_7132$class_8510;field_44611:I
named RANGE
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;RANGE:I
-
spreadManager
- Mappings:
Namespace Name Mixin selector official b
Ldia$a;b:Lddk;
intermediary field_44612
Lnet/minecraft/class_7132$class_8510;field_44612:Lnet/minecraft/class_7128;
named spreadManager
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;spreadManager:Lnet/minecraft/block/entity/SculkSpreadManager;
-
state
- Mappings:
Namespace Name Mixin selector official c
Ldia$a;c:Ldjh;
intermediary field_44613
Lnet/minecraft/class_7132$class_8510;field_44613:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;state:Lnet/minecraft/block/BlockState;
-
positionSource
- Mappings:
Namespace Name Mixin selector official d
Ldia$a;d:Ldnv;
intermediary field_44614
Lnet/minecraft/class_7132$class_8510;field_44614:Lnet/minecraft/class_5716;
named positionSource
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;positionSource:Lnet/minecraft/world/event/PositionSource;
-
-
Constructor Details
-
Listener
- Mappings:
Namespace Name Mixin selector official <init>
Ldia$a;<init>(Ldjh;Ldnv;)V
intermediary <init>
Lnet/minecraft/class_7132$class_8510;<init>(Lnet/minecraft/class_2680;Lnet/minecraft/class_5716;)V
named <init>
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;<init>(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/event/PositionSource;)V
-
-
Method Details
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSource
in interfaceGameEventListener
- Mappings:
Namespace Name Mixin selector official a
Ldnt;a()Ldnv;
intermediary method_32946
Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;
named getPositionSource
Lnet/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:
getRange
in interfaceGameEventListener
- Mappings:
Namespace Name Mixin selector official b
Ldnt;b()I
intermediary method_32948
Lnet/minecraft/class_5714;method_32948()I
named getRange
Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
-
getTriggerOrder
- Specified by:
getTriggerOrder
in interfaceGameEventListener
- Mappings:
Namespace Name Mixin selector official c
Ldnt;c()Ldnt$a;
intermediary method_45472
Lnet/minecraft/class_5714;method_45472()Lnet/minecraft/class_5714$class_7720;
named getTriggerOrder
Lnet/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:
listen
in interfaceGameEventListener
- Returns:
true
if the game event has been accepted by this listener- Mappings:
Namespace Name Mixin selector official a
Ldnt;a(Land;Ldnr;Ldnr$a;Lelt;)Z
intermediary method_32947
Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Z
named listen
Lnet/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
-
getSpreadManager
- Mappings:
Namespace Name Mixin selector official d
Ldia$a;d()Lddk;
intermediary method_51362
Lnet/minecraft/class_7132$class_8510;method_51362()Lnet/minecraft/class_7128;
named getSpreadManager
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;getSpreadManager()Lnet/minecraft/block/entity/SculkSpreadManager;
-
bloom
- Mappings:
Namespace Name Mixin selector official a
Ldia$a;a(Land;Lhx;Ldjh;Lauv;)V
intermediary method_51360
Lnet/minecraft/class_7132$class_8510;method_51360(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)V
named bloom
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;bloom(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)V
-
triggerCriteria
- Mappings:
Namespace Name Mixin selector official a
Ldia$a;a(Lctp;Lbml;)V
intermediary method_51361
Lnet/minecraft/class_7132$class_8510;method_51361(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
named triggerCriteria
Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;triggerCriteria(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
-