net.minecraft.world.level.block.entity

public class CreakingHeartBlockEntity

extends BlockEntity

dup
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
UPDATE_TICKS_VARIANCE
field_55498
field_55498
private static final int
i
HURT_CALL_TOTAL_TICKS
field_54782
field_54782
private static final int
j
NUMBER_OF_HURT_CALLS
field_54783
field_54783
private static final int
k
HURT_CALL_INTERVAL
field_54784
field_54784
private static final int
l
HURT_CALL_PARTICLE_TICKS
field_54785
field_54785
private static final int
m
MAX_DEPTH
field_55085
field_55085
private static final int
q
MAX_COUNT
field_55086
field_55086
private static final int
r
TICKS_GRACE_PERIOD
field_55499
field_55499
private static final Optional<Creaking>
s
NO_CREAKING
field_55500
DEFAULT_CREAKING_PUPPET
private com.mojang.datafixers.util.Either<Creaking, UUID>
t
creakingInfo
field_55501
creakingPuppet
private long
u
ticksExisted
field_55502
ticks
private int
v
ticker
field_54787
creakingUpdateTimer
private int
w
emitter
field_54788
trailParticlesSpawnTimer
private Vec3
x
emitterTarget
field_54789
lastCreakingPuppetPos
private int
y
outputSignal
field_54910
comparatorOutput

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(dgj arg0, ji arg1, dwy arg2, dup 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 void
k()
clearCreakingInfo()
method_65907()
clearCreakingPuppet()
public void
a(cnd arg0)
setCreakingInfo(Creaking arg0)
method_65905(class_10275 arg0)
setCreakingPuppet(CreakingEntity creakingPuppet)
public void
a(UUID arg0)
setCreakingInfo(UUID arg0)
method_65906(UUID arg0)
setCreakingPuppetFromUuid(UUID creakingPuppetUuid)
private Optional<Creaking>
s()
getCreakingProtector()
method_65805()
getCreakingPuppet()
private static Creaking
a(ard arg0, dup 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(jt$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 Optional<BlockPos>
t()
spreadResin()
method_65170()
findResinGenerationPos()
private void
a(ard 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(btc arg0)
removeProtector(DamageSource arg0)
method_64802(class_1282 arg0)
killPuppet(DamageSource damageSource)
public boolean
b(cnd 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()
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)