net.minecraft.world.level.block.entity

public class CreakingHeartBlockEntity

extends BlockEntity

ebp
net.minecraft.world.level.block.entity.CreakingHeartBlockEntity
net.minecraft.class_10323
net.minecraft.block.entity.CreakingHeartBlockEntity
net.minecraft.src.C_346133_
net.minecraft.world.level.block.entity.CreakingHeartBlockEntity

字段概要

修饰符与类型字段
private static final int
b
PLAYER_DETECTION_RANGE
field_54776
field_54776
f_349035_
public static final int
a
CREAKING_ROAMING_RADIUS
field_54775
field_54775
f_346272_
private static final int
c
DISTANCE_CREAKING_TOO_FAR
field_54777
field_54777
f_347578_
private static final int
d
SPAWN_RANGE_XZ
field_54778
field_54778
f_347061_
private static final int
e
SPAWN_RANGE_Y
field_54779
field_54779
f_346322_
private static final int
f
ATTEMPTS_PER_SPAWN
field_54780
field_54780
f_348153_
private static final int
g
UPDATE_TICKS
field_54781
field_54781
f_347121_
private static final int
h
UPDATE_TICKS_VARIANCE
field_55498
field_55498
f_370757_
private static final int
i
HURT_CALL_TOTAL_TICKS
field_54782
field_54782
f_346266_
private static final int
j
NUMBER_OF_HURT_CALLS
field_54783
field_54783
f_348781_
private static final int
k
HURT_CALL_INTERVAL
field_54784
field_54784
f_347639_
private static final int
l
HURT_CALL_PARTICLE_TICKS
field_54785
field_54785
f_348511_
private static final int
m
MAX_DEPTH
field_55085
field_55085
f_370718_
private static final int
q
MAX_COUNT
field_55086
field_55086
f_370939_
private static final int
r
TICKS_GRACE_PERIOD
field_55499
field_55499
f_370746_
private static final Optional<Creaking>
s
NO_CREAKING
field_55500
DEFAULT_CREAKING_PUPPET
f_370976_
private com.mojang.datafixers.util.Either<Creaking, UUID>
t
creakingInfo
field_55501
creakingPuppet
f_371573_
private long
u
ticksExisted
field_55502
ticks
f_370797_
private int
v
ticker
field_54787
creakingUpdateTimer
f_349107_
private int
w
emitter
field_54788
trailParticlesSpawnTimer
f_348785_
private Vec3
x
emitterTarget
field_54789
lastCreakingPuppetPos
f_346712_
private int
y
outputSignal
field_54910
comparatorOutput
f_347729_

构造函数概要

修饰符构造函数
public (BlockPos pos, BlockState state)

方法概要

修饰符与类型方法
public static void
a(dmu arg0, jb arg1, eeb arg2, ebp arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, CreakingHeartBlockEntity arg3)
method_64804(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_10323 arg3)
tick(World world, BlockPos pos, BlockState state, CreakingHeartBlockEntity blockEntity)
m_357209_(C_1596_ p_360952_, C_4675_ p_367184_, C_2064_ p_365574_, C_346133_ p_366884_)
private static BlockState
a(dmu arg0, eeb arg1, jb arg2, ebp arg3)
updateCreakingState(Level arg0, BlockState arg1, BlockPos arg2, CreakingHeartBlockEntity arg3)
method_66475(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_10323 arg3)
getBlockState(World world, BlockState state, BlockPos pos, CreakingHeartBlockEntity creakingHeart)
m_386486_(C_1596_ p_391469_, C_2064_ p_392285_, C_4675_ p_394743_, C_346133_ p_397498_)
private double
j()
distanceToCreaking()
method_65012()
getDistanceToPuppet()
m_354711_()
private void
k()
clearCreakingInfo()
method_65907()
clearCreakingPuppet()
m_373816_()
public void
a(csz arg0)
setCreakingInfo(Creaking arg0)
method_65905(class_10275 arg0)
setCreakingPuppet(CreakingEntity creakingPuppet)
m_372050_(C_345864_ arg0)
public void
a(UUID arg0)
setCreakingInfo(UUID arg0)
method_65906(UUID arg0)
setCreakingPuppetFromUuid(UUID creakingPuppetUuid)
m_373840_(UUID arg0)
private Optional<Creaking>
u()
getCreakingProtector()
method_65805()
getCreakingPuppet()
m_372388_()
private static Creaking
a(aub arg0, ebp arg1)
spawnProtector(ServerLevel arg0, CreakingHeartBlockEntity arg1)
method_64801(class_3218 arg0, class_10323 arg1)
spawnCreakingPuppet(ServerWorld world, CreakingHeartBlockEntity blockEntity)
m_355399_(C_12_ p_362442_, C_346133_ p_369130_)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_64805()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jn$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
m_5995_(C_213466_$C_254607_ arg0)
public void
c()
creakingHurt()
method_64806()
onPuppetDamage()
m_353829_()
private Optional<BlockPos>
v()
spreadResin()
method_65170()
findResinGenerationPos()
m_372921_()
private void
a(aub arg0, int arg1, boolean arg2)
emitParticles(ServerLevel arg0, int arg1, boolean arg2)
method_64800(class_3218 arg0, int arg1, boolean arg2)
spawnTrailParticles(ServerWorld world, int count, boolean towardsPuppet)
m_352640_(C_12_ p_366541_, int p_366282_, boolean arg2)
public void
a(jb arg0, eeb arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
m_384369_(C_4675_ p_393763_, C_2064_ arg1)
public void
a(byb arg0)
removeProtector(DamageSource arg0)
method_64802(class_1282 arg0)
killPuppet(DamageSource damageSource)
m_351607_(C_489_ arg0)
public boolean
b(csz arg0)
isProtector(Creaking arg0)
method_64803(class_10275 arg0)
isPuppet(CreakingEntity creaking)
m_352848_(C_345864_ arg0)
public int
d()
getAnalogOutputSignal()
method_65010()
getComparatorOutput()
m_352868_()
public int
f()
computeAnalogOutputSignal()
method_65011()
calcComparatorOutput()
m_356165_()
protected void
a(fda arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
readData(ReadView arg0)
m_318667_(C_398549_ arg0)
protected void
a(fdc arg0)
saveAdditional(ValueOutput arg0)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
m_183515_(C_398537_ arg0)