Interface VibrationListener.Callback
- All Known Implementing Classes:
AllayEntity.VibrationListenerCallback,SculkSensorBlockEntity,SculkShriekerBlockEntity,WardenEntity
- Enclosing class:
VibrationListener
public static interface VibrationListener.Callback
- Mappings:
Namespace Name official dcj$aintermediary net/minecraft/class_5718$class_5719named net/minecraft/world/event/listener/VibrationListener$Callback
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanaccepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.default booleancanAccept(GameEvent gameEvent, GameEvent.Emitter emitter) getTag()default voidonListen()default boolean
-
Method Details
-
getTag
- Mappings:
Namespace Name Mixin selector official aLdcj$a;a()Lame;intermediary method_42210Lnet/minecraft/class_5718$class_5719;method_42210()Lnet/minecraft/class_6862;named getTagLnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/TagKey;
-
triggersAvoidCriterion
default boolean triggersAvoidCriterion()- Mappings:
Namespace Name Mixin selector official tLdcj$a;t()Zintermediary method_43695Lnet/minecraft/class_5718$class_5719;method_43695()Znamed triggersAvoidCriterionLnet/minecraft/world/event/listener/VibrationListener$Callback;triggersAvoidCriterion()Z
-
canAccept
- Mappings:
Namespace Name Mixin selector official aLdcj$a;a(Ldcb;Ldcb$a;)Zintermediary method_42324Lnet/minecraft/class_5718$class_5719;method_42324(Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Znamed canAcceptLnet/minecraft/world/event/listener/VibrationListener$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
accepts
boolean accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.- Mappings:
Namespace Name Mixin selector official aLdcj$a;a(Lagz;Ldcd;Lgo;Ldcb;Ldcb$a;)Zintermediary method_32970Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Znamed acceptsLnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
accept
void accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity entity, @Nullable @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.- Mappings:
Namespace Name Mixin selector official aLdcj$a;a(Lagz;Ldcd;Lgo;Ldcb;Lbcx;Lbcx;F)Vintermediary method_32969Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)Vnamed acceptLnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
-
onListen
default void onListen()- Mappings:
Namespace Name Mixin selector official fLdcj$a;f()Vintermediary method_42672Lnet/minecraft/class_5718$class_5719;method_42672()Vnamed onListenLnet/minecraft/world/event/listener/VibrationListener$Callback;onListen()V
-