JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
Modifier and Type
Method
Description
default R
applyChance (int chance)
Applies the minecraft:chance decorator, which only
allows positions with a 1 / count chance,
e.g.
R
decorate (ConfiguredDecorator <?> decorator)
default R
rangeOf (int max)
Applies the minecraft:range decorator, which returns the input
position with a y value from zero to max.
default R
repeat (int count)
Applies the minecraft:count decorator, which repeats
the input positions count times.
default R
repeat (UniformIntDistribution count)
Applies the minecraft:count decorator, which repeats
the input positions by the value of the count distribution.
default R
repeatRandomly (int maxCount)
Applies the minecraft:count decorator, which repeats
the input positions by a random number between 0 and maxCount.
default R
spreadHorizontally ()
Applies the minecraft:square decorator, which spreads positions
horizontally a random amount between 0 and 15 blocks on both horizontal axes.
Method Details
applyChance
default R applyChance (
int chance)
Applies the minecraft:chance decorator, which only
allows positions with a 1 / count chance,
e.g. a count of 2 would give approximately half of the input positions.
repeat
default R repeat (
int count)
Applies the minecraft:count decorator, which repeats
the input positions count times.
Parameters:
count - the repetition count
repeatRandomly
default R repeatRandomly (
int maxCount)
Applies the minecraft:count decorator, which repeats
the input positions by a random number between 0 and maxCount.
Parameters:
maxCount - the maximum repetition count
rangeOf
default R rangeOf (
int max)
Applies the minecraft:range decorator, which returns the input
position with a y value from zero to max.
spreadHorizontally
default R spreadHorizontally ()
Applies the minecraft:square decorator, which spreads positions
horizontally a random amount between 0 and 15 blocks on both horizontal axes.
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method