Interface VibrationListener.Callback

All Known Implementing Classes:
AllayEntity.VibrationListenerCallback, SculkSensorBlockEntity, SculkShriekerBlockEntity, WardenEntity
Enclosing class:
VibrationListener

public static interface VibrationListener.Callback
Mappings:
Namespace Name
official ddk$a
intermediary net/minecraft/class_5718$class_5719
named net/minecraft/world/event/listener/VibrationListener$Callback
  • Method Details

    • getTag

      default TagKey<GameEvent> getTag()
      Mappings:
      Namespace Name Mixin selector
      official a Lddk$a;a()Lamr;
      intermediary method_42210 Lnet/minecraft/class_5718$class_5719;method_42210()Lnet/minecraft/class_6862;
      named getTag Lnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/registry/tag/TagKey;
    • triggersAvoidCriterion

      default boolean triggersAvoidCriterion()
      Mappings:
      Namespace Name Mixin selector
      official t Lddk$a;t()Z
      intermediary method_43695 Lnet/minecraft/class_5718$class_5719;method_43695()Z
      named triggersAvoidCriterion Lnet/minecraft/world/event/listener/VibrationListener$Callback;triggersAvoidCriterion()Z
    • canAccept

      default boolean canAccept(GameEvent gameEvent, GameEvent.Emitter emitter)
      Mappings:
      Namespace Name Mixin selector
      official a Lddk$a;a(Lddc;Lddc$a;)Z
      intermediary method_42324 Lnet/minecraft/class_5718$class_5719;method_42324(Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
      named canAccept Lnet/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 a Lddk$a;a(Lahm;Ldde;Lgp;Lddc;Lddc$a;)Z
      intermediary method_32970 Lnet/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;)Z
      named accepts Lnet/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 a Lddk$a;a(Lahm;Ldde;Lgp;Lddc;Lbdr;Lbdr;F)V
      intermediary method_32969 Lnet/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)V
      named accept Lnet/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 f Lddk$a;f()V
      intermediary method_42672 Lnet/minecraft/class_5718$class_5719;method_42672()V
      named onListen Lnet/minecraft/world/event/listener/VibrationListener$Callback;onListen()V