Interface SculkPatchConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface SculkPatchConfiguration extends FeatureConfiguration
A feature that places sculk catalysts and sculk shriekers in randomly spreading patches.
Since:
3.0.0
See Also:
  • Method Details

    • chargeCount

      @AsOf("3.0.0") int chargeCount()
      The number of charges between 1 and 32.
      Returns:
      the charge count
      Since:
      3.0.0
    • amountPerCharge

      @AsOf("3.0.0") int amountPerCharge()
      The initial value of each charge between 1 and 500.
      Returns:
      the amount per charge
      Since:
      3.0.0
    • spreadAttempts

      @AsOf("3.0.0") int spreadAttempts()
      The number of attempts to spread between 1 and 64.
      Returns:
      the spread attempts
      Since:
      3.0.0
    • growthRounds

      @AsOf("3.0.0") int growthRounds()
      The number of times to generate between 0 and 8.
      Returns:
      the growth rounds
      Since:
      3.0.0
    • spreadRounds

      @AsOf("3.0.0") int spreadRounds()
      The number of times to spread between 0 and 8.
      Returns:
      the spread rounds
      Since:
      3.0.0
    • extraRareGrowths

      @AsOf("3.0.0") IntProvider extraRareGrowths()
      The number of extra shriekers generated.
      Returns:
      the extra rare growths
      Since:
      3.0.0
    • catalystChance

      @AsOf("3.0.0") float catalystChance()
      The probability of generating a catalyst between 0.0 and 1.0.
      Returns:
      the catalyst chance
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default SculkPatchConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a new builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static SculkPatchConfiguration of(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance)
      Creates a new sculk patch configuration.
      Parameters:
      chargeCount - the charge count (1-32)
      amountPerCharge - the amount per charge (1-500)
      spreadAttempts - the spread attempts (1-64)
      growthRounds - the growth rounds (0-8)
      spreadRounds - the spread rounds (0-8)
      extraRareGrowths - the extra rare growths
      catalystChance - the catalyst chance (0.0-1.0)
      Returns:
      a new sculk patch configuration
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static SculkPatchConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0