类 SculkShriekerBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SculkShriekerBlockEntity
- 所有已实现的接口:
GameEventListener.Provider<VibrationSystem.Listener>
,VibrationSystem
,IAttachmentHolder
,IBlockEntityExtension
public class SculkShriekerBlockEntity
extends BlockEntity
implements GameEventListener.Provider<VibrationSystem.Listener>, VibrationSystem
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
从接口继承的嵌套类/接口 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
VibrationSystem.Data, VibrationSystem.Listener, VibrationSystem.Ticker, VibrationSystem.User
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private static final int
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<SoundEvent> private VibrationSystem.Data
private final VibrationSystem.Listener
private final VibrationSystem.User
private static final int
private static final int
private static final int
private static final int
private int
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
从接口继承的字段 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
NO_VIBRATION_FREQUENCY, RESONANCE_EVENTS, VIBRATION_FREQUENCY_FOR_EVENT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private boolean
canRespond
(ServerLevel p_222873_) protected void
loadAdditional
(ValueInput p_422415_) private void
playWardenReplySound
(Level p_281300_) void
preRemoveSideEffects
(BlockPos p_394217_, BlockState p_393528_) protected void
saveAdditional
(ValueOutput p_422120_) private void
shriek
(ServerLevel p_222845_, Entity p_222846_) static ServerPlayer
tryGetPlayer
(Entity p_222862_) void
tryRespond
(ServerLevel p_222840_) void
tryShriek
(ServerLevel p_222842_, ServerPlayer p_222843_) private boolean
trySummonWarden
(ServerLevel p_222881_) private boolean
tryToWarn
(ServerLevel p_222875_, ServerPlayer p_222876_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, problemPath, removeComponentsFromTag, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, triggerEvent
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
WARNING_SOUND_RADIUS
private static final int WARNING_SOUND_RADIUS- 另请参阅:
-
WARDEN_SPAWN_ATTEMPTS
private static final int WARDEN_SPAWN_ATTEMPTS- 另请参阅:
-
WARDEN_SPAWN_RANGE_XZ
private static final int WARDEN_SPAWN_RANGE_XZ- 另请参阅:
-
WARDEN_SPAWN_RANGE_Y
private static final int WARDEN_SPAWN_RANGE_Y- 另请参阅:
-
DARKNESS_RADIUS
private static final int DARKNESS_RADIUS- 另请参阅:
-
SHRIEKING_TICKS
private static final int SHRIEKING_TICKS- 另请参阅:
-
SOUND_BY_LEVEL
-
DEFAULT_WARNING_LEVEL
private static final int DEFAULT_WARNING_LEVEL- 另请参阅:
-
warningLevel
private int warningLevel -
vibrationUser
-
vibrationData
-
vibrationListener
-
-
构造器详细资料
-
SculkShriekerBlockEntity
-
-
方法详细资料
-
getVibrationData
- 指定者:
getVibrationData
在接口中VibrationSystem
-
getVibrationUser
- 指定者:
getVibrationUser
在接口中VibrationSystem
-
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
tryGetPlayer
-
tryShriek
-
tryToWarn
-
shriek
-
canRespond
-
preRemoveSideEffects
- 覆盖:
preRemoveSideEffects
在类中BlockEntity
-
tryRespond
-
playWardenReplySound
-
trySummonWarden
-
getListener
-