Class SculkSpreader

java.lang.Object
net.minecraft.world.level.block.SculkSpreader

public class SculkSpreader extends Object
  • 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

      private final TagKey<Block> replaceableBlocks
    • growthSpawnCost

      private final int growthSpawnCost
    • noGrowthRadius

      private final int noGrowthRadius
    • chargeDecayRate

      private final int chargeDecayRate
    • additionalDecayRate

      private final int additionalDecayRate
    • cursors

      private List<SculkSpreader.ChargeCursor> cursors
    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • SculkSpreader

      public SculkSpreader(boolean p_222248_, TagKey<Block> p_222249_, int p_222250_, int p_222251_, int p_222252_, int p_222253_)
  • Method Details

    • createLevelSpreader

      public static SculkSpreader createLevelSpreader()
    • createWorldGenSpreader

      public static SculkSpreader createWorldGenSpreader()
    • replaceableBlocks

      public TagKey<Block> replaceableBlocks()
    • growthSpawnCost

      public int growthSpawnCost()
    • noGrowthRadius

      public int noGrowthRadius()
    • chargeDecayRate

      public int chargeDecayRate()
    • additionalDecayRate

      public int additionalDecayRate()
    • isWorldGeneration

      public boolean isWorldGeneration()
    • getCursors

      public List<SculkSpreader.ChargeCursor> getCursors()
    • clear

      public void clear()
    • load

      public void load(CompoundTag p_222270_)
    • save

      public void save(CompoundTag p_222276_)
    • addCursors

      public void addCursors(BlockPos p_222267_, int p_222268_)
    • addCursor

      private void addCursor(SculkSpreader.ChargeCursor p_222261_)
    • updateCursors

      public void updateCursors(LevelAccessor p_222256_, BlockPos p_222257_, RandomSource p_222258_, boolean p_222259_)