Class AllayEntity.VibrationListenerCallback

java.lang.Object
net.minecraft.entity.passive.AllayEntity.VibrationListenerCallback
All Implemented Interfaces:
VibrationListener.Callback
Enclosing class:
AllayEntity

private class AllayEntity.VibrationListenerCallback extends Object implements VibrationListener.Callback
Mappings:
Namespace Name
official bsn$a
intermediary net/minecraft/class_7298$class_7524
named net/minecraft/entity/passive/AllayEntity$VibrationListenerCallback
  • Constructor Details

    • VibrationListenerCallback

      VibrationListenerCallback()
  • Method Details

    • accepts

      public boolean accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgi$a;a(Laip;Ldgc;Lgt;Ldga;Ldga$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

      public void accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, Entity entity, Entity sourceEntity, float distance)
      Accepts a game event after delay.
      Specified by:
      accept in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgi$a;a(Laip;Ldgc;Lgt;Ldga;Lbfh;Lbfh;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
    • getTag

      public TagKey<GameEvent> getTag()
      Specified by:
      getTag in interface VibrationListener.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgi$a;a()Lanv;
      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;