net.minecraft.world.level.block

public class SculkSpreader

cqf
net.minecraft.world.level.block.SculkSpreader
net.minecraft.class_7128
net.minecraft.block.entity.SculkSpreadManager
net.minecraft.src.C_213114_
net.minecraft.world.level.block.SculkSpreader

Field summary

Modifier and TypeField
public static final int
a
MAX_GROWTH_RATE_RADIUS
field_37609
field_37609
f_222233_
public static final int
b
MAX_CHARGE
field_37610
field_37610
f_222234_
public static final float
c
MAX_DECAY_FACTOR
field_37611
field_37611
f_222235_
private static final int
e
MAX_CURSORS
field_37613
field_37613
f_222237_
public static final int
d
SHRIEKER_PLACEMENT_RATE
field_37612
field_37612
f_222236_
final boolean
f
isWorldGeneration
field_37614
worldGen
f_222238_
private final TagKey<Block>
g
replaceableBlocks
field_37615
replaceableTag
f_222239_
private final int
h
growthSpawnCost
field_37616
extraBlockChance
f_222240_
private final int
i
noGrowthRadius
field_37617
maxDistance
f_222241_
private final int
j
chargeDecayRate
field_37618
spreadChance
f_222242_
private final int
k
additionalDecayRate
field_37619
decayChance
f_222243_
private List<SculkSpreader$ChargeCursor>
l
cursors
field_37620
cursors
f_222244_
private static final org.slf4j.Logger
m
LOGGER
field_37621
LOGGER
f_222245_

Constructor summary

ModifierConstructor
public (boolean worldGen, TagKey<Block> replaceableTag, int extraBlockChance, int maxDistance, int spreadChance, int decayChance)

Method summary

Modifier and TypeMethod
public static SculkSpreader
a()
createLevelSpreader()
method_41478()
create()
m_222254_()
public static SculkSpreader
b()
createWorldGenSpreader()
method_41485()
createWorldGen()
m_222274_()
public TagKey<Block>
c()
replaceableBlocks()
method_41487()
getReplaceableTag()
m_222277_()
public int
d()
growthSpawnCost()
method_41488()
getExtraBlockChance()
m_222278_()
public int
e()
noGrowthRadius()
method_41489()
getMaxDistance()
m_222279_()
public int
f()
chargeDecayRate()
method_41490()
getSpreadChance()
m_222280_()
public int
g()
additionalDecayRate()
method_41491()
getDecayChance()
m_222281_()
public boolean
h()
isWorldGeneration()
method_41492()
isWorldGen()
m_222282_()
public List<SculkSpreader$ChargeCursor>
i()
getCursors()
method_41493()
getCursors()
m_222283_()
public void
j()
clear()
method_41494()
clearCursors()
m_222284_()
public void
a(pj arg0)
load(CompoundTag arg0)
method_41483(class_2487 arg0)
readNbt(NbtCompound nbt)
m_222269_(C_4917_ arg0)
public void
b(pj arg0)
save(CompoundTag arg0)
method_41486(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_222275_(C_4917_ arg0)
public void
a(gt arg0, int arg1)
addCursors(BlockPos arg0, int arg1)
method_41482(class_2338 arg0, int arg1)
spread(BlockPos pos, int charge)
m_222266_(C_4675_ p_222268_, int arg1)
private void
a(cqf$a arg0)
addCursor(SculkSpreader$ChargeCursor arg0)
method_41480(class_7128$class_7129 arg0)
addCursor(SculkSpreadManager$Cursor cursor)
m_222260_(C_213115_ arg0)
public void
a(cgy arg0, gt arg1, amn arg2, boolean arg3)
updateCursors(LevelAccessor arg0, BlockPos arg1, RandomSource arg2, boolean arg3)
method_41479(class_1936 arg0, class_2338 arg1, class_5819 arg2, boolean arg3)
tick(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock)
m_222255_(C_1598_ p_222257_, C_4675_ p_222258_, C_212974_ p_222259_, boolean arg3)