mirror of https://github.com/FabricMC/yarn.git
27 lines
1.4 KiB
Plaintext
27 lines
1.4 KiB
Plaintext
CLASS net/minecraft/class_5432 net/minecraft/world/gen/decorator/Decoratable
|
|
METHOD method_30371 spreadHorizontally ()Ljava/lang/Object;
|
|
COMMENT Applies the {@code minecraft:square} decorator, which spreads positions
|
|
COMMENT horizontally a random amount between 0 and 15 blocks on both horizontal axes.
|
|
METHOD method_30372 applyChance (I)Ljava/lang/Object;
|
|
COMMENT Applies the {@code minecraft:chance} decorator, which only
|
|
COMMENT allows positions with a {@code 1 / count} chance,
|
|
COMMENT e.g. a count of 2 would give approximately half of the input positions.
|
|
ARG 1 chance
|
|
METHOD method_30373 repeat (Lnet/minecraft/class_5428;)Ljava/lang/Object;
|
|
COMMENT Applies the {@code minecraft:count} decorator, which repeats
|
|
COMMENT the input positions by the value of the {@code count} distribution.
|
|
ARG 1 count
|
|
COMMENT the distribution of the repetition count
|
|
METHOD method_30374 decorate (Lnet/minecraft/class_3243;)Ljava/lang/Object;
|
|
ARG 1 decorator
|
|
METHOD method_30375 repeat (I)Ljava/lang/Object;
|
|
COMMENT Applies the {@code minecraft:count} decorator, which repeats
|
|
COMMENT the input positions {@code count} times.
|
|
ARG 1 count
|
|
COMMENT the repetition count
|
|
METHOD method_30376 repeatRandomly (I)Ljava/lang/Object;
|
|
COMMENT Applies the {@code minecraft:count} decorator, which repeats
|
|
COMMENT the input positions by a random number between 0 and {@code maxCount}.
|
|
ARG 1 maxCount
|
|
COMMENT the maximum repetition count
|