Interface Vibrations.Callback

All Known Implementing Classes:
AllayEntity.VibrationCallback, CalibratedSculkSensorBlockEntity.Callback, SculkSensorBlockEntity.VibrationCallback, SculkShriekerBlockEntity.VibrationCallback, WardenEntity.VibrationCallback
Enclosing interface:
Vibrations

public static interface Vibrations.Callback
Mappings:
Namespace Name
named net/minecraft/world/event/Vibrations$Callback
intermediary net/minecraft/class_8514$class_5719
official dyf$d
  • Method Details

    • getRange

      int getRange()
      Mappings:
      Namespace Name Mixin selector
      named getRange Lnet/minecraft/world/event/Vibrations$Callback;getRange()I
      intermediary method_49797 Lnet/minecraft/class_8514$class_5719;method_49797()I
      official a Ldyf$d;a()I
    • getPositionSource

      PositionSource getPositionSource()
      Mappings:
      Namespace Name Mixin selector
      named getPositionSource Lnet/minecraft/world/event/Vibrations$Callback;getPositionSource()Lnet/minecraft/world/event/PositionSource;
      intermediary method_51300 Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;
      official b Ldyf$d;b()Ldya;
    • accepts

      boolean accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Mappings:
      Namespace Name Mixin selector
      named accepts Lnet/minecraft/world/event/Vibrations$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
      intermediary method_32970 Lnet/minecraft/class_8514$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Lnet/minecraft/class_5712$class_7397;)Z
      official a Ldyf$d;a(Laqt;Ljd;Ljm;Ldxw$a;)Z
    • accept

      void accept(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable @Nullable Entity sourceEntity, @Nullable @Nullable Entity entity, float distance)
      Accepts a game event after delay.
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/world/event/Vibrations$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
      intermediary method_32969 Lnet/minecraft/class_8514$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
      official a Ldyf$d;a(Laqt;Ljd;Ljm;Lbsq;Lbsq;F)V
    • getTag

      default TagKey<GameEvent> getTag()
      Mappings:
      Namespace Name Mixin selector
      named getTag Lnet/minecraft/world/event/Vibrations$Callback;getTag()Lnet/minecraft/registry/tag/TagKey;
      intermediary method_42210 Lnet/minecraft/class_8514$class_5719;method_42210()Lnet/minecraft/class_6862;
      official c Ldyf$d;c()Lawt;
    • triggersAvoidCriterion

      default boolean triggersAvoidCriterion()
      Mappings:
      Namespace Name Mixin selector
      named triggersAvoidCriterion Lnet/minecraft/world/event/Vibrations$Callback;triggersAvoidCriterion()Z
      intermediary method_43695 Lnet/minecraft/class_8514$class_5719;method_43695()Z
      official d Ldyf$d;d()Z
    • requiresTickingChunksAround

      default boolean requiresTickingChunksAround()
      Mappings:
      Namespace Name Mixin selector
      named requiresTickingChunksAround Lnet/minecraft/world/event/Vibrations$Callback;requiresTickingChunksAround()Z
      intermediary method_51363 Lnet/minecraft/class_8514$class_5719;method_51363()Z
      official f Ldyf$d;f()Z
    • getDelay

      default int getDelay(float distance)
      Mappings:
      Namespace Name Mixin selector
      named getDelay Lnet/minecraft/world/event/Vibrations$Callback;getDelay(F)I
      intermediary method_51410 Lnet/minecraft/class_8514$class_5719;method_51410(F)I
      official a Ldyf$d;a(F)I
    • canAccept

      default boolean canAccept(RegistryEntry<GameEvent> gameEvent, GameEvent.Emitter emitter)
      Mappings:
      Namespace Name Mixin selector
      named canAccept Lnet/minecraft/world/event/Vibrations$Callback;canAccept(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
      intermediary method_42324 Lnet/minecraft/class_8514$class_5719;method_42324(Lnet/minecraft/class_6880;Lnet/minecraft/class_5712$class_7397;)Z
      official a Ldyf$d;a(Ljm;Ldxw$a;)Z
    • onListen

      default void onListen()
      Mappings:
      Namespace Name Mixin selector
      named onListen Lnet/minecraft/world/event/Vibrations$Callback;onListen()V
      intermediary method_42672 Lnet/minecraft/class_8514$class_5719;method_42672()V
      official e Ldyf$d;e()V