net.minecraft.entity.passive

class AllayEntity$VibrationCallback

implements Vibrations$Callback

net.minecraft.world.entity.animal.allay.Allay$VibrationUser
net.minecraft.class_7298$class_7524
net.minecraft.entity.passive.AllayEntity$VibrationCallback

Field summary

Modifier and TypeField
private static final int
VIBRATION_EVENT_LISTENER_RANGE
field_43190
RANGE
private final PositionSource
positionSource
field_44597
positionSource
final AllayEntity
this$0
field_39476
field_39476

Constructor summary

ModifierConstructor
private (AllayEntity this$0)

Method summary

Modifier and TypeMethod
public int
getListenerRadius()
method_49797()
getRange()
public PositionSource
getPositionSource()
method_51300()
getPositionSource()
public boolean
canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent$Context context)
method_32970(class_3218 arg0, class_2338 arg1, class_6880<class_5712> arg2, class_5712$class_7397 arg3)
accepts(ServerWorld arg0, BlockPos arg1, RegistryEntry<GameEvent> arg2, GameEvent$Emitter arg3)
public void
onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, Entity sourceEntity, Entity projectileOwner, float receivingDistance)
method_32969(class_3218 arg0, class_2338 arg1, class_6880<class_5712> arg2, class_1297 arg3, class_1297 arg4, float arg5)
accept(ServerWorld arg0, BlockPos arg1, RegistryEntry<GameEvent> arg2, Entity arg3, Entity arg4, float arg5)
public TagKey<GameEvent>
getListenableEvents()
method_42210()
getTag()