net.minecraft.world.level.block

public class SculkSpreader$ChargeCursor

drk$a
net.minecraft.world.level.block.SculkSpreader$ChargeCursor
net.minecraft.class_7128$class_7129
net.minecraft.block.entity.SculkSpreadManager$Cursor
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
public static final int
a
MAX_CURSOR_DECAY_DELAY
field_37622
field_37622
private BlockPos
d
pos
field_37625
pos
int
e
charge
field_37626
charge
private int
f
updateDelay
field_37627
update
private int
g
decayDelay
field_37628
decay
private Set<Direction>
h
facings
field_37629
faces
private static final com.mojang.serialization.Codec<Set<Direction>>
i
DIRECTION_SET
field_37630
DIRECTION_SET_CODEC
public static final com.mojang.serialization.Codec<SculkSpreader$ChargeCursor>
b
CODEC
field_37623
CODEC

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()
boolean
a(jh arg0)
isPosUnreasonable(BlockPos arg0)
method_65074(class_2338 arg0)
isTooFarFrom(BlockPos pos)
public int
b()
getCharge()
method_41508()
getCharge()
public int
c()
getDecayDelay()
method_41510()
getDecay()
public Set<Direction>
d()
getFacingData()
method_41512()
getFaces()
private boolean
a(dhj arg0, jh 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)
public void
a(dhj arg0, jh arg1, bam arg2, drk 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)
void
a(drk$a arg0)
mergeWith(SculkSpreader$ChargeCursor arg0)
method_41501(class_7128$class_7129 arg0)
merge(SculkSpreadManager$Cursor cursor)
private static SculkBehaviour
a(dxv arg0)
getBlockBehaviour(BlockState arg0)
method_41503(class_2680 arg0)
getSpreadable(BlockState state)
private static List<Vec3i>
a(bam arg0)
getRandomizedNonCornerNeighbourOffsets(RandomSource arg0)
method_41507(class_5819 arg0)
shuffleOffsets(Random random)
private static BlockPos
a(dhj arg0, jh arg1, bam 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)
private static boolean
a(dhj arg0, jh arg1, jh 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)
private static boolean
a(dhj arg0, jh arg1, jm 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)