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.world.level.block.entity.CreakingHeartBlockEntity

Field summary

Modifier and TypeField
private static final int
b
PLAYER_DETECTION_RANGE
field_54776
field_54776
public static final int
a
CREAKING_ROAMING_RADIUS
field_54775
field_54775
private static final int
c
DISTANCE_CREAKING_TOO_FAR
field_54777
field_54777
private static final int
d
SPAWN_RANGE_XZ
field_54778
field_54778
private static final int
e
SPAWN_RANGE_Y
field_54779
field_54779
private static final int
f
ATTEMPTS_PER_SPAWN
field_54780
field_54780
private static final int
g
UPDATE_TICKS
field_54781
field_54781
private static final int
h
HURT_CALL_TOTAL_TICKS
field_54782
field_54782
private static final int
i
NUMBER_OF_HURT_CALLS
field_54783
field_54783
private static final int
j
HURT_CALL_INTERVAL
field_54784
field_54784
private static final int
k
HURT_CALL_PARTICLE_TICKS
field_54785
field_54785
private CreakingTransient
l
creaking
field_54786
creakingPuppet
private int
m
ticker
field_54787
creakingUpdateTimer
private int
n
emitter
field_54788
trailParticlesSpawnTimer
private Vec3
r
emitterTarget
field_54789
lastCreakingPuppetPos
private int
s
outputSignal
field_54910
comparatorOutput

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)
private double
j()
distanceToCreaking()
method_65012()
getDistanceToPuppet()
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)
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_64805()
toUpdatePacket()
public CompoundTag
a(js$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public void
c()
creakingHurt()
method_64806()
onPuppetDamage()
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)
public void
a(bua arg0)
removeProtector(DamageSource arg0)
method_64802(class_1282 arg0)
onBreak(DamageSource damageSource)
public boolean
a(cob arg0)
isProtector(Creaking arg0)
method_64803(class_10275 arg0)
isPuppet(CreakingEntity creaking)
public int
d()
getAnalogOutputSignal()
method_65010()
getComparatorOutput()
public int
f()
computeAnalogOutputSignal()
method_65011()
calcComparatorOutput()