Package net.minecraft.block.entity
Class SculkSensorBlockEntity.VibrationCallback
java.lang.Object
net.minecraft.block.entity.SculkSensorBlockEntity.VibrationCallback
- All Implemented Interfaces:
Vibrations.Callback
- Direct Known Subclasses:
CalibratedSculkSensorBlockEntity.Callback
- Enclosing class:
SculkSensorBlockEntity
protected class SculkSensorBlockEntity.VibrationCallback
extends Object
implements Vibrations.Callback
- Mappings:
Namespace Name named net/minecraft/block/entity/SculkSensorBlockEntity$VibrationCallback
intermediary net/minecraft/class_5704$class_8241
official dqp$a
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BlockPos
private final PositionSource
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
accepts
(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.int
getRange()
void
onListen()
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.event.Vibrations.Callback
canAccept, getDelay, getTag
-
Field Details
-
RANGE
public static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named RANGE
Lnet/minecraft/block/entity/SculkSensorBlockEntity$VibrationCallback;RANGE:I
intermediary field_43292
Lnet/minecraft/class_5704$class_8241;field_43292:I
official b
Ldqp$a;b:I
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/block/entity/SculkSensorBlockEntity$VibrationCallback;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_44617
Lnet/minecraft/class_5704$class_8241;field_44617:Lnet/minecraft/class_2338;
official c
Ldqp$a;c:Liz;
-
positionSource
- Mappings:
Namespace Name Mixin selector named positionSource
Lnet/minecraft/block/entity/SculkSensorBlockEntity$VibrationCallback;positionSource:Lnet/minecraft/world/event/PositionSource;
intermediary field_44616
Lnet/minecraft/class_5704$class_8241;field_44616:Lnet/minecraft/class_5716;
official a
Ldqp$a;a:Ldxa;
-
-
Constructor Details
-
VibrationCallback
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/entity/SculkSensorBlockEntity$VibrationCallback;<init>(Lnet/minecraft/block/entity/SculkSensorBlockEntity;Lnet/minecraft/util/math/BlockPos;)V
intermediary <init>
Lnet/minecraft/class_5704$class_8241;<init>(Lnet/minecraft/class_5704;Lnet/minecraft/class_2338;)V
official <init>
Ldqp$a;<init>(Ldqp;Liz;)V
-
-
Method Details
-
getRange
public int getRange()- Specified by:
getRange
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named getRange
Lnet/minecraft/world/event/Vibrations$Callback;getRange()I
intermediary method_49797
Lnet/minecraft/class_8514$class_5719;method_49797()I
official a
Ldxf$d;a()I
-
getPositionSource
- Specified by:
getPositionSource
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named getPositionSource
Lnet/minecraft/world/event/Vibrations$Callback;getPositionSource()Lnet/minecraft/world/event/PositionSource;
intermediary method_51300
Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;
official b
Ldxf$d;b()Ldxa;
-
triggersAvoidCriterion
public boolean triggersAvoidCriterion()- Specified by:
triggersAvoidCriterion
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named triggersAvoidCriterion
Lnet/minecraft/world/event/Vibrations$Callback;triggersAvoidCriterion()Z
intermediary method_43695
Lnet/minecraft/class_8514$class_5719;method_43695()Z
official d
Ldxf$d;d()Z
-
accepts
public boolean accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.- Specified by:
accepts
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named accepts
Lnet/minecraft/world/event/Vibrations$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
intermediary method_32970
Lnet/minecraft/class_8514$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Lnet/minecraft/class_5712$class_7397;)Z
official a
Ldxf$d;a(Larf;Liz;Lji;Ldww$a;)Z
-
accept
public void accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable @Nullable Entity sourceEntity, @Nullable @Nullable Entity entity, float distance) Accepts a game event after delay.- Specified by:
accept
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named accept
Lnet/minecraft/world/event/Vibrations$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
intermediary method_32969
Lnet/minecraft/class_8514$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
official a
Ldxf$d;a(Larf;Liz;Lji;Lbsv;Lbsv;F)V
-
onListen
public void onListen()- Specified by:
onListen
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named onListen
Lnet/minecraft/world/event/Vibrations$Callback;onListen()V
intermediary method_42672
Lnet/minecraft/class_8514$class_5719;method_42672()V
official e
Ldxf$d;e()V
-
requiresTickingChunksAround
public boolean requiresTickingChunksAround()- Specified by:
requiresTickingChunksAround
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector named requiresTickingChunksAround
Lnet/minecraft/world/event/Vibrations$Callback;requiresTickingChunksAround()Z
intermediary method_51363
Lnet/minecraft/class_8514$class_5719;method_51363()Z
official f
Ldxf$d;f()Z
-