Class WardenEntity.VibrationCallback

java.lang.Object
net.minecraft.entity.mob.WardenEntity.VibrationCallback
All Implemented Interfaces:
Vibrations.Callback
Enclosing class:
WardenEntity

private class WardenEntity.VibrationCallback extends Object implements Vibrations.Callback
Mappings:
Namespace Name
named net/minecraft/entity/mob/WardenEntity$VibrationCallback
intermediary net/minecraft/class_7260$class_8507
official clz$a
  • Field Details

    • RANGE

      private static final int RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RANGE Lnet/minecraft/entity/mob/WardenEntity$VibrationCallback;RANGE:I
      intermediary field_44601 Lnet/minecraft/class_7260$class_8507;field_44601:I
      official b Lclz$a;b:I
    • positionSource

      private final PositionSource positionSource
      Mappings:
      Namespace Name Mixin selector
      named positionSource Lnet/minecraft/entity/mob/WardenEntity$VibrationCallback;positionSource:Lnet/minecraft/world/event/PositionSource;
      intermediary field_44602 Lnet/minecraft/class_7260$class_8507;field_44602:Lnet/minecraft/class_5716;
      official c Lclz$a;c:Ldya;
  • Constructor Details

    • VibrationCallback

      VibrationCallback()
  • Method Details

    • getRange

      public int getRange()
      Specified by:
      getRange in interface Vibrations.Callback
      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

      public PositionSource getPositionSource()
      Specified by:
      getPositionSource in interface Vibrations.Callback
      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;
    • getTag

      public TagKey<GameEvent> getTag()
      Specified by:
      getTag in interface Vibrations.Callback
      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

      public boolean triggersAvoidCriterion()
      Specified by:
      triggersAvoidCriterion in interface Vibrations.Callback
      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
    • accepts

      public boolean accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface Vibrations.Callback
      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

      public 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.
      Specified by:
      accept in interface Vibrations.Callback
      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