Package net.minecraft.entity.mob
Class WardenEntity.VibrationCallback
java.lang.Object
net.minecraft.entity.mob.WardenEntity.VibrationCallback
- All Implemented Interfaces:
Vibrations.Callback
- Enclosing class:
WardenEntity
- Mappings:
Namespace Name official bxs$a
intermediary net/minecraft/class_7260$class_8507
named net/minecraft/entity/mob/WardenEntity$VibrationCallback
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ServerWorld world, BlockPos pos, GameEvent event, @Nullable Entity sourceEntity, @Nullable Entity entity, float distance) Accepts a game event after delay.boolean
accepts
(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.int
getRange()
getTag()
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, onListen, requiresTickingChunksAround
-
Field Details
-
RANGE
private static final int RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbxs$a;b:I
intermediary field_44601
Lnet/minecraft/class_7260$class_8507;field_44601:I
named RANGE
Lnet/minecraft/entity/mob/WardenEntity$VibrationCallback;RANGE:I
-
positionSource
- Mappings:
Namespace Name Mixin selector official c
Lbxs$a;c:Ldgp;
intermediary field_44602
Lnet/minecraft/class_7260$class_8507;field_44602:Lnet/minecraft/class_5716;
named positionSource
Lnet/minecraft/entity/mob/WardenEntity$VibrationCallback;positionSource:Lnet/minecraft/world/event/PositionSource;
-
-
Constructor Details
-
VibrationCallback
VibrationCallback()
-
-
Method Details
-
getRange
public int getRange()- Specified by:
getRange
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector official a
Ldgu$d;a()I
intermediary method_49797
Lnet/minecraft/class_8514$class_5719;method_49797()I
named getRange
Lnet/minecraft/world/event/Vibrations$Callback;getRange()I
-
getPositionSource
- Specified by:
getPositionSource
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector official b
Ldgu$d;b()Ldgp;
intermediary method_51300
Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;
named getPositionSource
Lnet/minecraft/world/event/Vibrations$Callback;getPositionSource()Lnet/minecraft/world/event/PositionSource;
-
getTag
- Specified by:
getTag
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector official c
Ldgu$d;c()Lanl;
intermediary method_42210
Lnet/minecraft/class_8514$class_5719;method_42210()Lnet/minecraft/class_6862;
named getTag
Lnet/minecraft/world/event/Vibrations$Callback;getTag()Lnet/minecraft/registry/tag/TagKey;
-
triggersAvoidCriterion
public boolean triggersAvoidCriterion()- Specified by:
triggersAvoidCriterion
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector official d
Ldgu$d;d()Z
intermediary method_43695
Lnet/minecraft/class_8514$class_5719;method_43695()Z
named triggersAvoidCriterion
Lnet/minecraft/world/event/Vibrations$Callback;triggersAvoidCriterion()Z
-
accepts
Returns whether the callback wants to accept this event.- Specified by:
accepts
in interfaceVibrations.Callback
- Mappings:
Namespace Name Mixin selector official a
Ldgu$d;a(Laif;Lgu;Ldgl;Ldgl$a;)Z
intermediary method_32970
Lnet/minecraft/class_8514$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
named accepts
Lnet/minecraft/world/event/Vibrations$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
accept
public void accept(ServerWorld world, BlockPos pos, 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 official a
Ldgu$d;a(Laif;Lgu;Ldgl;Lbfj;Lbfj;F)V
intermediary method_32969
Lnet/minecraft/class_8514$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
named accept
Lnet/minecraft/world/event/Vibrations$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
-