Class CalibratedSculkSensorBlockEntity.Callback

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

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

    • Callback

      public Callback(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/CalibratedSculkSensorBlockEntity$Callback;<init>(Lnet/minecraft/block/entity/CalibratedSculkSensorBlockEntity;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_8239$class_8240;<init>(Lnet/minecraft/class_8239;Lnet/minecraft/class_2338;)V
      official <init> Ldvb$a;<init>(Ldvb;Ljh;)V
  • Method Details

    • getRange

      public int getRange()
      Specified by:
      getRange in interface Vibrations.Callback
      Overrides:
      getRange in class SculkSensorBlockEntity.VibrationCallback
      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 Lecz$d;a()I
    • accepts

      public boolean accepts(ServerWorld world, BlockPos pos, RegistryEntry<GameEvent> event, @Nullable GameEvent.Emitter emitter)
      Returns whether the callback wants to accept this event.
      Specified by:
      accepts in interface Vibrations.Callback
      Overrides:
      accepts in class SculkSensorBlockEntity.VibrationCallback
      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 Lecz$d;a(Lash;Ljh;Ljq;Lecq$a;)Z
    • getCalibrationFrequency

      private int getCalibrationFrequency(World world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named getCalibrationFrequency Lnet/minecraft/block/entity/CalibratedSculkSensorBlockEntity$Callback;getCalibrationFrequency(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)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
      official a Ldvb$a;a(Ldhh;Ljh;Ldxu;)I