Interface Decoratable<R>
- All Known Implementing Classes:
ConfiguredDecorator
,ConfiguredFeature
public interface Decoratable<R>
- Mappings:
Namespace Name official cpl
intermediary net/minecraft/class_5432
named net/minecraft/world/gen/decorator/Decoratable
-
Method Summary
Modifier and TypeMethodDescriptiondefault R
applyChance(int chance)
Applies theminecraft:chance
decorator, which only allows positions with a1 / count
chance, e.g.decorate(ConfiguredDecorator<?> decorator)
default R
range(RangeDecoratorConfig config)
default R
repeat(int count)
Applies theminecraft:count
decorator, which repeats the input positionscount
times.default R
repeat(IntProvider count)
Applies theminecraft:count
decorator, which repeats the input positions by the value of thecount
distribution.default R
repeatRandomly(int maxCount)
Applies theminecraft:count
decorator, which repeats the input positions by a random number between 0 andmaxCount
.default R
Applies theminecraft:square
decorator, which spreads positions horizontally a random amount between 0 and 15 blocks on both horizontal axes.default R
triangleRange(YOffset min, YOffset max)
default R
uniformRange(YOffset min, YOffset max)
-
Method Details
-
decorate
- Mappings:
Namespace Name Mixin selector official a
Lcpl;a(Lczo;)Ljava/lang/Object;
intermediary method_30374
Lnet/minecraft/class_5432;method_30374(Lnet/minecraft/class_3243;)Ljava/lang/Object;
named decorate
Lnet/minecraft/world/gen/decorator/Decoratable;decorate(Lnet/minecraft/world/gen/decorator/ConfiguredDecorator;)Ljava/lang/Object;
-
applyChance
Applies theminecraft:chance
decorator, which only allows positions with a1 / count
chance, e.g. a count of 2 would give approximately half of the input positions.- Mappings:
Namespace Name Mixin selector official a
Lcpl;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
Applies theminecraft:count
decorator, which repeats the input positions by the value of thecount
distribution.- Parameters:
count
- the distribution of the repetition count- Mappings:
Namespace Name Mixin selector official a
Lcpl;a(Lari;)Ljava/lang/Object;
intermediary method_30373
Lnet/minecraft/class_5432;method_30373(Lnet/minecraft/class_6017;)Ljava/lang/Object;
named repeat
Lnet/minecraft/world/gen/decorator/Decoratable;repeat(Lnet/minecraft/util/math/intprovider/IntProvider;)Ljava/lang/Object;
-
repeat
Applies theminecraft:count
decorator, which repeats the input positionscount
times.- Parameters:
count
- the repetition count- Mappings:
Namespace Name Mixin selector official b
Lcpl;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
Applies theminecraft:count
decorator, which repeats the input positions by a random number between 0 andmaxCount
.- Parameters:
maxCount
- the maximum repetition count- Mappings:
Namespace Name Mixin selector official c
Lcpl;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;
-
uniformRange
- Mappings:
Namespace Name Mixin selector official a
Lcpl;a(Lcqj;Lcqj;)Ljava/lang/Object;
intermediary method_36296
Lnet/minecraft/class_5432;method_36296(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Ljava/lang/Object;
named uniformRange
Lnet/minecraft/world/gen/decorator/Decoratable;uniformRange(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Ljava/lang/Object;
-
triangleRange
- Mappings:
Namespace Name Mixin selector official b
Lcpl;b(Lcqj;Lcqj;)Ljava/lang/Object;
intermediary method_36297
Lnet/minecraft/class_5432;method_36297(Lnet/minecraft/class_5843;Lnet/minecraft/class_5843;)Ljava/lang/Object;
named triangleRange
Lnet/minecraft/world/gen/decorator/Decoratable;triangleRange(Lnet/minecraft/world/gen/YOffset;Lnet/minecraft/world/gen/YOffset;)Ljava/lang/Object;
-
range
- Mappings:
Namespace Name Mixin selector official a
Lcpl;a(Lcvz;)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
Applies theminecraft: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
Lcpl;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;
-