Interface VibrationListener.Callback

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

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

    • getTag

      default Tag.Identified<GameEvent> getTag()
      Mappings:
      Namespace Name Mixin selector
      official fD Lctz$b;fD()Lahz$e;
      intermediary method_40674 Lnet/minecraft/class_5718$class_5719;method_40674()Lnet/minecraft/class_3494$class_5123;
      named getTag Lnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/Tag$Identified;
    • canAccept

      default boolean canAccept(GameEvent event, @Nullable @Nullable Entity sourceEntity)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lctz$b;a_(Lcts;Laxe;)Z
      intermediary method_40825 Lnet/minecraft/class_5718$class_5719;method_40825(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
      named canAccept Lnet/minecraft/world/event/listener/VibrationListener$Callback;canAccept(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
    • accepts

      boolean accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity)
      Returns whether the callback wants to accept this event.
      Mappings:
      Namespace Name Mixin selector
      official a Lctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;)Z
      intermediary method_32970 Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
      named accepts Lnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
    • isNotOccluded

      default boolean isNotOccluded(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lctz$b;b(Lcbf;Lctu;Lgh;Lcts;Laxe;)Z
      intermediary method_40830 Lnet/minecraft/class_5718$class_5719;method_40830(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Z
      named isNotOccluded Lnet/minecraft/world/event/listener/VibrationListener$Callback;isNotOccluded(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)Z
    • accept

      void accept(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity sourceEntity, int delay)
      Accepts a game event after delay.
      Mappings:
      Namespace Name Mixin selector
      official a Lctz$b;a(Lcbf;Lctu;Lgh;Lcts;Laxe;I)V
      intermediary method_32969 Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_1937;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;I)V
      named accept Lnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/world/World;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;I)V