JavaScript is disabled on your browser.
All Known Implementing Classes:
ConfiguredDecorator , ConfiguredFeature
public interface Decoratable<R>
Mappings:
Namespace
Name
official
cnq
intermediary
net/minecraft/class_5432
named
net/minecraft/world/gen/decorator/Decoratable
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.
default R
averageDepth (YOffset baseline,
int spread)
R
decorate (ConfiguredDecorator <?> decorator)
default R
range (RangeDecoratorConfig config)
default R
rangeOf (YOffset bottom,
YOffset top)
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.
Mappings:
Namespace
Name
Mixin selector
official
a
Lcnq;a(I)Ljava/lang/Object;
intermediary
method_30372
Lnet/minecraft/class_5432;method_30372(I)Ljava/lang/Object;
named
applyChance
Lnet/minecraft/world/gen/decorator/Decoratable;applyChance(I)Ljava/lang/Object;
repeat
default R repeat (
int count)
Applies the minecraft:count decorator, which repeats
the input positions count times.
Parameters:
count - the repetition count
Mappings:
Namespace
Name
Mixin selector
official
b
Lcnq;b(I)Ljava/lang/Object;
intermediary
method_30375
Lnet/minecraft/class_5432;method_30375(I)Ljava/lang/Object;
named
repeat
Lnet/minecraft/world/gen/decorator/Decoratable;repeat(I)Ljava/lang/Object;
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
Mappings:
Namespace
Name
Mixin selector
official
c
Lcnq;c(I)Ljava/lang/Object;
intermediary
method_30376
Lnet/minecraft/class_5432;method_30376(I)Ljava/lang/Object;
named
repeatRandomly
Lnet/minecraft/world/gen/decorator/Decoratable;repeatRandomly(I)Ljava/lang/Object;
rangeOf
Mappings:
Namespace
Name
Mixin selector
official
a
Lcnq;a(Lcok;Lcok;)Ljava/lang/Object;
intermediary
method_30377
Lnet/minecraft/class_5432;method_30377(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Ljava/lang/Object;
named
rangeOf
Lnet/minecraft/world/gen/decorator/Decoratable;rangeOf(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Ljava/lang/Object;
range
Mappings:
Namespace
Name
Mixin selector
official
a
Lcnq;a(Lctz;)Ljava/lang/Object;
intermediary
method_33838
Lnet/minecraft/class_5432;method_33838(Lnet/minecraft/class_2997;)Ljava/lang/Object;
named
range
Lnet/minecraft/world/gen/decorator/Decoratable;range(Lnet/minecraft/world/gen/decorator/RangeDecoratorConfig;)Ljava/lang/Object;
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.
Mappings:
Namespace
Name
Mixin selector
official
a
Lcnq;a()Ljava/lang/Object;
intermediary
method_30371
Lnet/minecraft/class_5432;method_30371()Ljava/lang/Object;
named
spreadHorizontally
Lnet/minecraft/world/gen/decorator/Decoratable;spreadHorizontally()Ljava/lang/Object;
averageDepth
default R averageDepth (
YOffset baseline,
int spread)
Mappings:
Namespace
Name
Mixin selector
official
a
Lcnq;a(Lcok;I)Ljava/lang/Object;
intermediary
method_33837
Lnet/minecraft/class_5432;method_33837(Lnet/minecraft/class_5843;I)Ljava/lang/Object;
named
averageDepth
Lnet/minecraft/world/gen/decorator/Decoratable;averageDepth(Lnet/minecraft/world/gen/YOffset;I)Ljava/lang/Object;
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method