类 CalibratedSculkSensorBlockEntity.VibrationUser
java.lang.Object
net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
net.minecraft.world.level.block.entity.CalibratedSculkSensorBlockEntity.VibrationUser
- 所有已实现的接口:
VibrationSystem.User
protected class CalibratedSculkSensorBlockEntity.VibrationUser
extends SculkSensorBlockEntity.VibrationUser
-
字段概要
从类继承的字段 net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
blockPos, LISTENER_RANGE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canReceiveVibration
(ServerLevel pLevel, BlockPos pPos, GameEvent pGameEvent, GameEvent.Context pContext) private int
getBackSignal
(Level pLevel, BlockPos pPos, BlockState pState) int
从类继承的方法 net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
canTriggerAvoidVibration, getPositionSource, onDataChanged, onReceiveVibration, requiresAdjacentChunksToBeTicking
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.gameevent.vibrations.VibrationSystem.User
calculateTravelTimeInTicks, getListenableEvents, isValidVibration
-
构造器详细资料
-
VibrationUser
-
-
方法详细资料
-
getListenerRadius
public int getListenerRadius() -
canReceiveVibration
public boolean canReceiveVibration(ServerLevel pLevel, BlockPos pPos, GameEvent pGameEvent, @Nullable GameEvent.Context pContext) -
getBackSignal
-