net.minecraft.world.level.block

public class SculkSpreader$ChargeCursor

ddk$a
net.minecraft.world.level.block.SculkSpreader$ChargeCursor
net.minecraft.class_7128$class_7129
net.minecraft.block.entity.SculkSpreadManager$Cursor
net.minecraft.src.C_213114_$C_213115_
net.minecraft.world.level.block.SculkSpreader$a

Field summary

Modifier and TypeField
private static final it.unimi.dsi.fastutil.objects.ObjectArrayList<Vec3i>
c
NON_CORNER_NEIGHBOURS
field_37624
OFFSETS
f_222287_
public static final int
a
MAX_CURSOR_DECAY_DELAY
field_37622
field_37622
f_222285_
private BlockPos
d
pos
field_37625
pos
f_222288_
int
e
charge
field_37626
charge
f_222289_
private int
f
updateDelay
field_37627
update
f_222290_
private int
g
decayDelay
field_37628
decay
f_222291_
private Set<Direction>
h
facings
field_37629
faces
f_222292_
private static final com.mojang.serialization.Codec<Set<Direction>>
i
DIRECTION_SET
field_37630
DIRECTION_SET_CODEC
f_222293_
public static final com.mojang.serialization.Codec<SculkSpreader$ChargeCursor>
b
CODEC
field_37623
CODEC
f_222286_

Constructor summary

ModifierConstructor
private (BlockPos pos, int charge, int decay, int update, Optional<Set<Direction>> faces)
public (BlockPos pos, int charge)

Method summary

Modifier and TypeMethod
public BlockPos
a()
getPos()
method_41495()
getPos()
m_222304_()
public int
b()
getCharge()
method_41508()
getCharge()
m_222341_()
public int
c()
getDecayDelay()
method_41510()
getDecay()
m_222344_()
public Set<Direction>
d()
getFacingData()
method_41512()
getFaces()
m_222347_()
private boolean
a(ctq arg0, hx arg1, boolean arg2)
shouldUpdate(LevelAccessor arg0, BlockPos arg1, boolean arg2)
method_41500(class_1936 arg0, class_2338 arg1, boolean arg2)
canSpread(WorldAccess world, BlockPos pos, boolean worldGen)
m_222325_(C_1598_ p_222327_, C_4675_ p_222328_, boolean arg2)
public void
a(ctq arg0, hx arg1, auv arg2, ddk arg3, boolean arg4)
update(LevelAccessor arg0, BlockPos arg1, RandomSource arg2, SculkSpreader arg3, boolean arg4)
method_41499(class_1936 arg0, class_2338 arg1, class_5819 arg2, class_7128 arg3, boolean arg4)
spread(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock)
m_222311_(C_1598_ p_222313_, C_4675_ p_222314_, C_212974_ p_222315_, C_213114_ p_222316_, boolean arg4)
void
a(ddk$a arg0)
mergeWith(SculkSpreader$ChargeCursor arg0)
method_41501(class_7128$class_7129 arg0)
merge(SculkSpreadManager$Cursor cursor)
m_222331_(C_213114_$C_213115_ arg0)
private static SculkBehaviour
a(djh arg0)
getBlockBehaviour(BlockState arg0)
method_41503(class_2680 arg0)
getSpreadable(BlockState state)
m_222333_(C_2064_ p_222334_)
private static List<Vec3i>
a(auv arg0)
getRandomizedNonCornerNeighbourOffsets(RandomSource arg0)
method_41507(class_5819 arg0)
shuffleOffsets(Random random)
m_222305_(C_212974_ p_222306_)
private static BlockPos
a(ctq arg0, hx arg1, auv arg2)
getValidMovementPos(LevelAccessor arg0, BlockPos arg1, RandomSource arg2)
method_41498(class_1936 arg0, class_2338 arg1, class_5819 arg2)
getSpreadPos(WorldAccess world, BlockPos pos, Random random)
m_222307_(C_1598_ p_222308_, C_4675_ p_222309_, C_212974_ p_222310_)
private static boolean
a(ctq arg0, hx arg1, hx arg2)
isMovementUnobstructed(LevelAccessor arg0, BlockPos arg1, BlockPos arg2)
method_41496(class_1936 arg0, class_2338 arg1, class_2338 arg2)
canSpread(WorldAccess world, BlockPos sourcePos, BlockPos targetPos)
m_222317_(C_1598_ p_222318_, C_4675_ p_222319_, C_4675_ p_222320_)
private static boolean
a(ctq arg0, hx arg1, ic arg2)
isUnobstructed(LevelAccessor arg0, BlockPos arg1, Direction arg2)
method_41497(class_1936 arg0, class_2338 arg1, class_2350 arg2)
canSpread(WorldAccess world, BlockPos pos, Direction direction)
m_222321_(C_1598_ p_222322_, C_4675_ p_222323_, C_4687_ p_222324_)