Interface VibrationListener.Callback

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

public static interface VibrationListener.Callback
Mappings:
Namespace Name
official dab$b
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 Ldab$b;a()Lakz;
      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/tag/TagKey;
    • triggersAvoidCriterion

      default boolean triggersAvoidCriterion()
      Mappings:
      Namespace Name Mixin selector
      official t Ldab$b;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 Ldab$b;a(Lczv;Lczv$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 Ldab$b;a(Lagg;Lczx;Lgt;Lczv;Lczv$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 Ldab$b;a(Lagg;Lczx;Lgt;Lczv;Lbbn;Lbbn;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 Ldab$b;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