Package net.minecraft.world.level.block
Class SculkSpreader
java.lang.Object
net.minecraft.world.level.block.SculkSpreader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private List
<SculkSpreader.ChargeCursor> private final int
(package private) final boolean
private static final org.slf4j.Logger
static final int
private static final int
static final float
static final int
private final int
static final int
-
Constructor Summary
ConstructorDescriptionSculkSpreader
(boolean p_222248_, TagKey<Block> p_222249_, int p_222250_, int p_222251_, int p_222252_, int p_222253_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addCursor
(SculkSpreader.ChargeCursor p_222261_) void
addCursors
(BlockPos p_222267_, int p_222268_) int
int
void
clear()
static SculkSpreader
static SculkSpreader
int
boolean
void
load
(CompoundTag p_222270_) int
void
save
(CompoundTag p_222276_) void
updateCursors
(LevelAccessor p_222256_, BlockPos p_222257_, RandomSource p_222258_, boolean p_222259_)
-
Field Details
-
MAX_GROWTH_RATE_RADIUS
public static final int MAX_GROWTH_RATE_RADIUS- See Also:
-
MAX_CHARGE
public static final int MAX_CHARGE- See Also:
-
MAX_DECAY_FACTOR
public static final float MAX_DECAY_FACTOR- See Also:
-
MAX_CURSORS
private static final int MAX_CURSORS- See Also:
-
SHRIEKER_PLACEMENT_RATE
public static final int SHRIEKER_PLACEMENT_RATE- See Also:
-
isWorldGeneration
final boolean isWorldGeneration -
replaceableBlocks
-
growthSpawnCost
private final int growthSpawnCost -
noGrowthRadius
private final int noGrowthRadius -
chargeDecayRate
private final int chargeDecayRate -
additionalDecayRate
private final int additionalDecayRate -
cursors
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
SculkSpreader
-
-
Method Details
-
createLevelSpreader
-
createWorldGenSpreader
-
replaceableBlocks
-
growthSpawnCost
public int growthSpawnCost() -
noGrowthRadius
public int noGrowthRadius() -
chargeDecayRate
public int chargeDecayRate() -
additionalDecayRate
public int additionalDecayRate() -
isWorldGeneration
public boolean isWorldGeneration() -
getCursors
-
clear
public void clear() -
load
-
save
-
addCursors
-
addCursor
-
updateCursors
public void updateCursors(LevelAccessor p_222256_, BlockPos p_222257_, RandomSource p_222258_, boolean p_222259_)
-