类 CreakingHeartBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.CreakingHeartBlockEntity
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明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.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
int
void
private double
private void
emitParticles
(ServerLevel p_366930_, int p_366541_, boolean p_366282_) int
getUpdateTag
(HolderLookup.Provider p_366353_) boolean
isProtector
(Creaking p_367915_) protected void
loadAdditional
(CompoundTag p_378014_, HolderLookup.Provider p_376954_) void
removeProtector
(DamageSource p_364053_) protected void
saveAdditional
(CompoundTag p_376888_, HolderLookup.Provider p_377263_) static void
serverTick
(Level p_360952_, BlockPos p_367184_, BlockState p_365574_, CreakingHeartBlockEntity p_366884_) void
setCreakingInfo
(UUID p_376550_) void
setCreakingInfo
(Creaking p_376531_) private static Creaking
spawnProtector
(ServerLevel p_362442_, CreakingHeartBlockEntity p_369130_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, 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
-
字段详细资料
-
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_360952_, BlockPos p_367184_, BlockState p_365574_, CreakingHeartBlockEntity p_366884_) -
distanceToCreaking
private double distanceToCreaking() -
clearCreakingInfo
private void clearCreakingInfo() -
setCreakingInfo
-
setCreakingInfo
-
getCreakingProtector
-
spawnProtector
@Nullable private static Creaking spawnProtector(ServerLevel p_362442_, CreakingHeartBlockEntity p_369130_) -
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
creakingHurt
public void creakingHurt() -
spreadResin
-
emitParticles
-
removeProtector
-
isProtector
-
getAnalogOutputSignal
public int getAnalogOutputSignal() -
computeAnalogOutputSignal
public int computeAnalogOutputSignal() -
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-