类 SculkShriekerBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SculkShriekerBlockEntity
- 所有已实现的接口:
GameEventListener.Provider<VibrationSystem.Listener>
,VibrationSystem
,ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,IForgeBlockEntity
public class SculkShriekerBlockEntity
extends BlockEntity
implements GameEventListener.Provider<VibrationSystem.Listener>, VibrationSystem
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
从接口继承的嵌套类/接口 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
VibrationSystem.Data, VibrationSystem.Listener, VibrationSystem.Ticker, VibrationSystem.User
-
字段概要
字段修饰符和类型字段说明private static final int
private static final org.slf4j.Logger
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.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
从接口继承的字段 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
DEFAULT_VIBRATION_FREQUENCY, RESONANCE_EVENTS, VIBRATION_FREQUENCY_FOR_EVENT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private boolean
canRespond
(ServerLevel p_222873_) protected void
loadAdditional
(CompoundTag p_327746_, HolderLookup.Provider p_335650_) private void
playWardenReplySound
(Level p_281300_) protected void
saveAdditional
(CompoundTag p_222878_, HolderLookup.Provider p_330845_) 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, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onChunkUnloaded, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockEntity
getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
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
-
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
-
tryRespond
-
playWardenReplySound
-
trySummonWarden
-
getListener
-