Package net.minecraft.entity.passive
Class AllayEntity.VibrationCallback
java.lang.Object
net.minecraft.entity.passive.AllayEntity.VibrationCallback
- All Implemented Interfaces:
- Vibrations.Callback
- Enclosing class:
- AllayEntity
- Mappings:
- Namespace - Name - official - bsp$b- intermediary - net/minecraft/class_7298$class_7524- named - net/minecraft/entity/passive/AllayEntity$VibrationCallback
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(ServerWorld world, BlockPos pos, GameEvent event, Entity sourceEntity, Entity entity, float distance) Accepts a game event after delay.booleanaccepts(ServerWorld world, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.intgetRange()getTag()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.event.Vibrations.CallbackcanAccept, getDelay, onListen, requiresTickingChunksAround, triggersAvoidCriterion
- 
Field Details- 
RANGEprivate static final int RANGE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbsp$b;b:I- intermediary - field_43190- Lnet/minecraft/class_7298$class_7524;field_43190:I- named - RANGE- Lnet/minecraft/entity/passive/AllayEntity$VibrationCallback;RANGE:I
 
- 
positionSource- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbsp$b;c:Ldgp;- intermediary - field_44597- Lnet/minecraft/class_7298$class_7524;field_44597:Lnet/minecraft/class_5716;- named - positionSource- Lnet/minecraft/entity/passive/AllayEntity$VibrationCallback;positionSource:Lnet/minecraft/world/event/PositionSource;
 
 
- 
- 
Constructor Details- 
VibrationCallbackVibrationCallback()
 
- 
- 
Method Details- 
getRangepublic int getRange()- Specified by:
- getRangein interface- Vibrations.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:
- getPositionSourcein interface- Vibrations.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;
 
- 
acceptsReturns whether the callback wants to accept this event.- Specified by:
- acceptsin interface- Vibrations.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
 
- 
acceptpublic void accept(ServerWorld world, BlockPos pos, GameEvent event, Entity sourceEntity, Entity entity, float distance) Accepts a game event after delay.- Specified by:
- acceptin interface- Vibrations.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
 
- 
getTag- Specified by:
- getTagin interface- Vibrations.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;
 
 
-