net.minecraft.world.level.block.entity

public class CreakingHeartBlockEntity

extends BlockEntity

dvm
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

Field summary

Modifier and TypeField
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
HURT_CALL_TOTAL_TICKS
field_54782
field_54782
f_346266_
private static final int
i
NUMBER_OF_HURT_CALLS
field_54783
field_54783
f_348781_
private static final int
j
HURT_CALL_INTERVAL
field_54784
field_54784
f_347639_
private static final int
k
HURT_CALL_PARTICLE_TICKS
field_54785
field_54785
f_348511_
private CreakingTransient
l
creaking
field_54786
creakingPuppet
f_346885_
private int
m
ticker
field_54787
creakingUpdateTimer
f_349107_
private int
n
emitter
field_54788
trailParticlesSpawnTimer
f_348785_
private Vec3
r
emitterTarget
field_54789
lastCreakingPuppetPos
f_346712_
private int
s
outputSignal
field_54910
comparatorOutput
f_347729_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(dhi arg0, jh arg1, dxv arg2, dvm 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 double
j()
distanceToCreaking()
method_65012()
getDistanceToPuppet()
m_354711_()
private static CreakingTransient
a(ash arg0, dvm 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
b()
getUpdatePacket()
method_64805()
toUpdatePacket()
m_58483_()
public CompoundTag
a(js$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 void
a(ash 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(bua arg0)
removeProtector(DamageSource arg0)
method_64802(class_1282 arg0)
onBreak(DamageSource damageSource)
m_351607_(C_489_ arg0)
public boolean
a(cob 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_()