类 CreakingHeartBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.CreakingHeartBlockEntity
- 所有已实现的接口:
IAttachmentHolder
,IBlockEntityExtension
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
-
字段概要
字段修饰符和类型字段说明private static final int
static final int
private static final int
private int
private Vec3
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private int
private static final int
private static final int
private static final int
private int
private static final int
private long
private static final int
private static final int
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
int
void
private double
private void
emitParticles
(ServerLevel p_379473_, int p_380023_, boolean p_379802_) int
getUpdateTag
(HolderLookup.Provider p_379306_) boolean
isProtector
(Creaking p_380040_) protected void
loadAdditional
(ValueInput p_422490_) void
preRemoveSideEffects
(BlockPos p_394454_, BlockState p_393611_) void
removeProtector
(DamageSource p_379965_) protected void
saveAdditional
(ValueOutput p_421850_) static void
serverTick
(Level p_379321_, BlockPos p_379679_, BlockState p_379831_, CreakingHeartBlockEntity p_379534_) void
setCreakingInfo
(UUID p_390523_) void
setCreakingInfo
(Creaking p_390482_) private static Creaking
spawnProtector
(ServerLevel p_379873_, CreakingHeartBlockEntity p_379806_) private static BlockState
updateCreakingState
(Level p_393728_, BlockState p_393633_, BlockPos p_394500_, CreakingHeartBlockEntity p_394605_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, 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
-
字段详细资料
-
PLAYER_DETECTION_RANGE
private static final int PLAYER_DETECTION_RANGE- 另请参阅:
-
CREAKING_ROAMING_RADIUS
public static final int CREAKING_ROAMING_RADIUS- 另请参阅:
-
DISTANCE_CREAKING_TOO_FAR
private static final int DISTANCE_CREAKING_TOO_FAR- 另请参阅:
-
SPAWN_RANGE_XZ
private static final int SPAWN_RANGE_XZ- 另请参阅:
-
SPAWN_RANGE_Y
private static final int SPAWN_RANGE_Y- 另请参阅:
-
ATTEMPTS_PER_SPAWN
private static final int ATTEMPTS_PER_SPAWN- 另请参阅:
-
UPDATE_TICKS
private static final int UPDATE_TICKS- 另请参阅:
-
UPDATE_TICKS_VARIANCE
private static final int UPDATE_TICKS_VARIANCE- 另请参阅:
-
HURT_CALL_TOTAL_TICKS
private static final int HURT_CALL_TOTAL_TICKS- 另请参阅:
-
NUMBER_OF_HURT_CALLS
private static final int NUMBER_OF_HURT_CALLS- 另请参阅:
-
HURT_CALL_INTERVAL
private static final int HURT_CALL_INTERVAL- 另请参阅:
-
HURT_CALL_PARTICLE_TICKS
private static final int HURT_CALL_PARTICLE_TICKS- 另请参阅:
-
MAX_DEPTH
private static final int MAX_DEPTH- 另请参阅:
-
MAX_COUNT
private static final int MAX_COUNT- 另请参阅:
-
TICKS_GRACE_PERIOD
private static final int TICKS_GRACE_PERIOD- 另请参阅:
-
NO_CREAKING
-
creakingInfo
-
ticksExisted
private long ticksExisted -
ticker
private int ticker -
emitter
private int emitter -
emitterTarget
-
outputSignal
private int outputSignal
-
-
构造器详细资料
-
CreakingHeartBlockEntity
-
-
方法详细资料
-
serverTick
public static void serverTick(Level p_379321_, BlockPos p_379679_, BlockState p_379831_, CreakingHeartBlockEntity p_379534_) -
updateCreakingState
private static BlockState updateCreakingState(Level p_393728_, BlockState p_393633_, BlockPos p_394500_, CreakingHeartBlockEntity p_394605_) -
distanceToCreaking
private double distanceToCreaking() -
clearCreakingInfo
private void clearCreakingInfo() -
setCreakingInfo
-
setCreakingInfo
-
getCreakingProtector
-
spawnProtector
@Nullable private static Creaking spawnProtector(ServerLevel p_379873_, CreakingHeartBlockEntity p_379806_) -
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
creakingHurt
public void creakingHurt() -
spreadResin
-
emitParticles
-
preRemoveSideEffects
- 覆盖:
preRemoveSideEffects
在类中BlockEntity
-
removeProtector
-
isProtector
-
getAnalogOutputSignal
public int getAnalogOutputSignal() -
computeAnalogOutputSignal
public int computeAnalogOutputSignal() -
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-