Interface SculkPatchConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
A feature that places sculk catalysts and sculk shriekers in
randomly spreading patches.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionintThe initial value of each charge between 1 and 500.builder()Creates a new builder.floatThe probability of generating a catalyst between 0.0 and 1.0.intThe number of charges between 1 and 32.The number of extra shriekers generated.intThe number of times to generate between 0 and 8.static SculkPatchConfigurationof(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance) Creates a new sculk patch configuration.intThe number of attempts to spread between 1 and 64.intThe number of times to spread between 0 and 8.default SculkPatchConfiguration.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
chargeCount
The number of charges between 1 and 32.- Returns:
- the charge count
- Since:
- 3.0.0
-
amountPerCharge
The initial value of each charge between 1 and 500.- Returns:
- the amount per charge
- Since:
- 3.0.0
-
spreadAttempts
The number of attempts to spread between 1 and 64.- Returns:
- the spread attempts
- Since:
- 3.0.0
-
growthRounds
The number of times to generate between 0 and 8.- Returns:
- the growth rounds
- Since:
- 3.0.0
-
spreadRounds
The number of times to spread between 0 and 8.- Returns:
- the spread rounds
- Since:
- 3.0.0
-
extraRareGrowths
The number of extra shriekers generated.- Returns:
- the extra rare growths
- Since:
- 3.0.0
-
catalystChance
The probability of generating a catalyst between 0.0 and 1.0.- Returns:
- the catalyst chance
- Since:
- 3.0.0
-
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 growthscatalystChance- the catalyst chance (0.0-1.0)- Returns:
- a new sculk patch configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-