Class SculkSensorBlockEntity.Callback

java.lang.Object
net.minecraft.block.entity.SculkSensorBlockEntity.Callback
All Implemented Interfaces:
class_8514.Callback
Direct Known Subclasses:
CalibratedSculkSensorBlockEntity.Callback
Enclosing class:
SculkSensorBlockEntity

protected class SculkSensorBlockEntity.Callback extends Object implements class_8514.Callback
Mappings:
Namespace Name
official dai$a
intermediary net/minecraft/class_5704$class_8241
named net/minecraft/block/entity/SculkSensorBlockEntity$Callback
  • Field Details

    • field_43292

      public static final int field_43292
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldai$a;b:I
      intermediary field_43292 Lnet/minecraft/class_5704$class_8241;field_43292:I
      named field_43292 Lnet/minecraft/block/entity/SculkSensorBlockEntity$Callback;field_43292:I
    • field_44617

      protected final BlockPos field_44617
      Mappings:
      Namespace Name Mixin selector
      official c Ldai$a;c:Lgu;
      intermediary field_44617 Lnet/minecraft/class_5704$class_8241;field_44617:Lnet/minecraft/class_2338;
      named field_44617 Lnet/minecraft/block/entity/SculkSensorBlockEntity$Callback;field_44617:Lnet/minecraft/util/math/BlockPos;
    • field_44616

      private final PositionSource field_44616
      Mappings:
      Namespace Name Mixin selector
      official a Ldai$a;a:Ldge;
      intermediary field_44616 Lnet/minecraft/class_5704$class_8241;field_44616:Lnet/minecraft/class_5716;
      named field_44616 Lnet/minecraft/block/entity/SculkSensorBlockEntity$Callback;field_44616:Lnet/minecraft/world/event/PositionSource;
  • Constructor Details

    • Callback

      public Callback(BlockPos blockPos)
  • Method Details

    • getRange

      public int getRange()
      Specified by:
      getRange in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$d;a()I
      intermediary method_49797 Lnet/minecraft/class_8514$class_5719;method_49797()I
      named getRange Lnet/minecraft/class_8514$Callback;getRange()I
    • method_51300

      public PositionSource method_51300()
      Specified by:
      method_51300 in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official b Ldgj$d;b()Ldge;
      intermediary method_51300 Lnet/minecraft/class_8514$class_5719;method_51300()Lnet/minecraft/class_5716;
      named method_51300 Lnet/minecraft/class_8514$Callback;method_51300()Lnet/minecraft/world/event/PositionSource;
    • triggersAvoidCriterion

      public boolean triggersAvoidCriterion()
      Specified by:
      triggersAvoidCriterion in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official d Ldgj$d;d()Z
      intermediary method_43695 Lnet/minecraft/class_8514$class_5719;method_43695()Z
      named triggersAvoidCriterion Lnet/minecraft/class_8514$Callback;triggersAvoidCriterion()Z
    • accepts

      public boolean accepts(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, @Nullable GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$d;a(Laid;Lgu;Ldga;Ldga$a;)Z
      intermediary method_32970 Lnet/minecraft/class_8514$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Z
      named accepts Lnet/minecraft/class_8514$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
    • accept

      public void accept(ServerWorld world, BlockPos blockPos, GameEvent gameEvent, @Nullable @Nullable Entity entity2, @Nullable @Nullable Entity entity, float float2)
      Accepts a game event after delay.
      Specified by:
      accept in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$d;a(Laid;Lgu;Ldga;Lbfb;Lbfb;F)V
      intermediary method_32969 Lnet/minecraft/class_8514$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)V
      named accept Lnet/minecraft/class_8514$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
    • onListen

      public void onListen()
      Specified by:
      onListen in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official e Ldgj$d;e()V
      intermediary method_42672 Lnet/minecraft/class_8514$class_5719;method_42672()V
      named onListen Lnet/minecraft/class_8514$Callback;onListen()V
    • method_51363

      public boolean method_51363()
      Specified by:
      method_51363 in interface class_8514.Callback
      Mappings:
      Namespace Name Mixin selector
      official f Ldgj$d;f()Z
      intermediary method_51363 Lnet/minecraft/class_8514$class_5719;method_51363()Z
      named method_51363 Lnet/minecraft/class_8514$Callback;method_51363()Z