Class CalibratedSculkSensorBlockEntity.Callback

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

protected class CalibratedSculkSensorBlockEntity.Callback extends SculkSensorBlockEntity.Callback
Mappings:
Namespace Name
official czi$a
intermediary net/minecraft/class_8239$class_8240
named net/minecraft/block/entity/CalibratedSculkSensorBlockEntity$Callback
  • Constructor Details

    • Callback

      public Callback(BlockPos blockPos)
  • Method Details

    • getRange

      public int getRange()
      Specified by:
      getRange in interface class_8514.Callback
      Overrides:
      getRange in class SculkSensorBlockEntity.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
    • 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
      Overrides:
      accepts in class SculkSensorBlockEntity.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
    • getCalibrationFrequency

      private int getCalibrationFrequency(World world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lczi$a;a(Lcmd;Lgu;Ldbr;)I
      intermediary method_49832 Lnet/minecraft/class_8239$class_8240;method_49832(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)I
      named getCalibrationFrequency Lnet/minecraft/block/entity/CalibratedSculkSensorBlockEntity$Callback;getCalibrationFrequency(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)I