类 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.Holder<VibrationSystem.Listener>
,VibrationSystem
,ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,ICapabilitySerializable<CompoundTag>
,IForgeBlockEntity
,INBTSerializable<CompoundTag>
public class SculkShriekerBlockEntity
extends BlockEntity
implements GameEventListener.Holder<VibrationSystem.Listener>, VibrationSystem
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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
RESONANCE_EVENTS, VIBRATION_FREQUENCY_FOR_EVENT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private boolean
canRespond
(ServerLevel pLevel) void
load
(CompoundTag pTag) private void
playWardenReplySound
(Level pLevel) protected void
saveAdditional
(CompoundTag pTag) private void
shriek
(ServerLevel pLevel, Entity pSourceEntity) static ServerPlayer
tryGetPlayer
(Entity pEntity) void
tryRespond
(ServerLevel pLevel) void
tryShriek
(ServerLevel pLevel, ServerPlayer pPlayer) private boolean
trySummonWarden
(ServerLevel pLevel) private boolean
tryToWarn
(ServerLevel pLevel, ServerPlayer pPlayer) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, 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
deserializeNBT, getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
字段详细资料
-
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
-
load
- 覆盖:
load
在类中BlockEntity
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
tryGetPlayer
-
tryShriek
-
tryToWarn
-
shriek
-
canRespond
-
tryRespond
-
playWardenReplySound
-
trySummonWarden
-
getListener
-