net.minecraft.block.entity

public class CreakingHeartBlockEntity

extends BlockEntity

dze
net.minecraft.world.level.block.entity.CreakingHeartBlockEntity
net.minecraft.class_10323
net.minecraft.block.entity.CreakingHeartBlockEntity
net.minecraft.unmapped.C_tkqzsaas
net.minecraft.block.entity.CreakingHeartBlockEntity
net.minecraft.src.C_346133_

Field summary

Modifier and TypeField
private static final int
b
PLAYER_DETECTION_RANGE
field_54776
field_54776
f_cvfzwxtz
PLAYER_DETECTION_RANGE
f_349035_
public static final int
a
CREAKING_ROAMING_RADIUS
field_54775
field_54775
f_grilakjj
CREAKING_ROAMING_RADIUS
f_346272_
private static final int
c
DISTANCE_CREAKING_TOO_FAR
field_54777
field_54777
f_mxplpjim
MAX_SQUARED_DISTANCE_TO_CREAKING
f_347578_
private static final int
d
SPAWN_RANGE_XZ
field_54778
field_54778
f_okledrbs
HORIZONTAL_SPAWN_RANGE
f_347061_
private static final int
e
SPAWN_RANGE_Y
field_54779
field_54779
f_mmycfyrt
VERTICAL_SPAWN_RANGE
f_346322_
private static final int
f
ATTEMPTS_PER_SPAWN
field_54780
field_54780
f_tgjlbnaj
SPAWN_ATTEMPTS
f_348153_
private static final int
g
UPDATE_TICKS
field_54781
field_54781
f_hlwtxpld
MIN_UPDATE_INTERVAL
f_347121_
private static final int
h
UPDATE_TICKS_VARIANCE
field_55498
field_55498
f_bsnmvbck
UPDATE_INTERVAL_VARIANCE
f_370757_
private static final int
i
HURT_CALL_TOTAL_TICKS
field_54782
field_54782
f_xsvwxixc
PARTICLE_AND_GROWTH_INTERVAL
f_346266_
private static final int
j
NUMBER_OF_HURT_CALLS
field_54783
field_54783
f_ehzrfpkl
HURT_CALL_COUNT
f_348781_
private static final int
k
HURT_CALL_INTERVAL
field_54784
field_54784
f_nsxjvugv
HURT_CALL_INTERVAL
f_347639_
private static final int
l
HURT_CALL_PARTICLE_TICKS
field_54785
field_54785
f_mjtvqmci
HURT_CALL_PARTICLE_TICKS
f_348511_
private static final int
m
MAX_DEPTH
field_55085
field_55085
f_rnzvkqzx
GROWTH_SEARCH_MAX_DEPTH
f_370718_
private static final int
q
MAX_COUNT
field_55086
field_55086
f_cwvstxzb
MAX_GROWTH_SEARCH_ITERATIONS
f_370939_
private static final int
r
TICKS_GRACE_PERIOD
field_55499
field_55499
f_tfhcwwsd
ALLOWED_UNLOADED_CREAKING_TICKS
f_370746_
private static final Optional<CreakingEntity>
s
NO_CREAKING
field_55500
DEFAULT_CREAKING_PUPPET
f_pperjfcu
NO_CONNECTED_CREAKING
f_370976_
private com.mojang.datafixers.util.Either<CreakingEntity, UUID>
t
creakingInfo
field_55501
creakingPuppet
f_kebdbxxl
connectedCreaking
f_371573_
private long
u
ticksExisted
field_55502
ticks
f_xyizqhss
ticksLoaded
f_370797_
private int
v
ticker
field_54787
creakingUpdateTimer
f_bwukcwqb
updateCooldown
f_349107_
private int
w
emitter
field_54788
trailParticlesSpawnTimer
f_rmipaiio
particleAndGrowthCooldown
f_348785_
private Vec3d
x
emitterTarget
field_54789
lastCreakingPuppetPos
f_ilcnsrbn
lastConnectedCreakingPos
f_346712_
private int
y
outputSignal
field_54910
comparatorOutput
f_kmnsfoas
comparatorOutput
f_347729_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(dkj o, iw o, ebq o, dze o)
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_njakthmx(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_tkqzsaas 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(dkj o, ebq o, iw o, dze o)
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_wkuprtkd(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_tkqzsaas arg3)
updateState(World world, BlockState state, BlockPos pos, CreakingHeartBlockEntity blockEntity)
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_zzkxgvhl()
getSquaredDistanceToCreakingEntity()
m_354711_()
private void
k()
clearCreakingInfo()
method_65907()
clearCreakingPuppet()
m_jfayrjth()
clearConnectedCreaking()
m_373816_()
public void
a(cqo arg0)
setCreakingInfo(Creaking arg0)
method_65905(class_10275 arg0)
setCreakingPuppet(CreakingEntity creakingPuppet)
m_rmtrhxwb(C_vbugwmii arg0)
setConnectedCreaking(CreakingEntity entity)
m_372050_(C_345864_ arg0)
public void
a(UUID arg0)
setCreakingInfo(UUID arg0)
method_65906(UUID arg0)
setCreakingPuppetFromUuid(UUID creakingPuppetUuid)
m_crfbayyq(UUID arg0)
setConnectedCreakingUuid(UUID uuid)
m_373840_(UUID arg0)
private Optional<CreakingEntity>
s()
getCreakingProtector()
method_65805()
getCreakingPuppet()
m_truxfmoq()
getConnectedCreaking()
m_372388_()
private static CreakingEntity
a(asb o, dze o)
spawnProtector(ServerLevel arg0, CreakingHeartBlockEntity arg1)
method_64801(class_3218 arg0, class_10323 arg1)
spawnCreakingPuppet(ServerWorld world, CreakingHeartBlockEntity blockEntity)
m_xchfcfll(C_bdwnwhiu arg0, C_tkqzsaas arg1)
trySpawn(ServerWorld world, CreakingHeartBlockEntity blockEntity)
m_355399_(C_12_ p_362442_, C_346133_ p_369130_)
public BlockEntityUpdateS2CPacket
a()
getUpdatePacket()
method_64805()
toUpdatePacket()
m_kslbtidy()
toUpdatePacket()
m_58483_()
public NbtCompound
a(ji$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toSyncedNbt(HolderLookup$Provider arg0)
m_5995_(C_213466_$C_254607_ arg0)
public void
c()
creakingHurt()
method_64806()
onPuppetDamage()
m_lpfewmky()
onCreakingDamaged()
m_353829_()
private Optional<BlockPos>
t()
spreadResin()
method_65170()
findResinGenerationPos()
m_aobtifjk()
tryGrowResin()
m_372921_()
private void
a(asb o, int o, 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_ukbxwqla(C_bdwnwhiu arg0, int arg1, boolean arg2)
spawnConnectionParticles(ServerWorld world, int count, boolean towardConnectedCreaking)
m_352640_(C_12_ p_366541_, int p_366282_, boolean arg2)
public void
a(iw o, ebq arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
m_zbfmojnu(C_hynzadkk arg0, C_txtbiemp arg1)
onReplaced(BlockPos arg0, BlockState arg1)
m_384369_(C_4675_ p_393763_, C_2064_ arg1)
public void
a(bvt arg0)
removeProtector(DamageSource arg0)
method_64802(class_1282 arg0)
killPuppet(DamageSource damageSource)
m_kgjofmyq(C_sbxfkpyv arg0)
removeConnectedCreaking(DamageSource source)
m_351607_(C_489_ arg0)
public boolean
b(cqo arg0)
isProtector(Creaking arg0)
method_64803(class_10275 arg0)
isPuppet(CreakingEntity creaking)
m_zfegalql(C_vbugwmii arg0)
isConnected(CreakingEntity creaking)
m_352848_(C_345864_ arg0)
public int
d()
getAnalogOutputSignal()
method_65010()
getComparatorOutput()
m_ticrsnxx()
getComparatorOutput()
m_352868_()
public int
f()
computeAnalogOutputSignal()
method_65011()
calcComparatorOutput()
m_eyesyodx()
calculateComparatorOutput()
m_356165_()
protected void
a(ua o, ji$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_376954_, C_213466_$C_254607_ arg1)
protected void
b(ua o, ji$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_377263_, C_213466_$C_254607_ arg1)