mirror of https://github.com/FabricMC/yarn.git
Decorators and other small world gen mappings (#1610)
This commit is contained in:
parent
2b4527de0a
commit
9ff1824815
|
@ -155,3 +155,5 @@ CLASS net/minecraft/class_5478 net/minecraft/world/biome/DefaultBiomeCreator
|
|||
METHOD method_30729 createBasaltDeltas ()Lnet/minecraft/class_1959;
|
||||
METHOD method_30730 createCrimsonForest ()Lnet/minecraft/class_1959;
|
||||
METHOD method_30731 createWarpedForest ()Lnet/minecraft/class_1959;
|
||||
METHOD method_30932 getSkyColor (F)I
|
||||
ARG 0 temperature
|
||||
|
|
|
@ -5,4 +5,8 @@ CLASS net/minecraft/class_3243 net/minecraft/world/gen/decorator/ConfiguredDecor
|
|||
METHOD <init> (Lnet/minecraft/class_3284;Lnet/minecraft/class_2998;)V
|
||||
ARG 1 decorator
|
||||
ARG 2 config
|
||||
METHOD method_30444 getPositions (Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
|
||||
ARG 1 context
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
METHOD method_30445 getConfig ()Lnet/minecraft/class_2998;
|
||||
|
|
|
@ -3,7 +3,7 @@ CLASS net/minecraft/class_5432 net/minecraft/world/gen/decorator/Decoratable
|
|||
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} decorators, which only
|
||||
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
|
||||
|
|
|
@ -1,2 +1,9 @@
|
|||
CLASS net/minecraft/class_5443 net/minecraft/world/gen/decorator/DecoratedDecoratorConfig
|
||||
FIELD field_25854 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25855 outer Lnet/minecraft/class_3243;
|
||||
FIELD field_25856 inner Lnet/minecraft/class_3243;
|
||||
METHOD <init> (Lnet/minecraft/class_3243;Lnet/minecraft/class_3243;)V
|
||||
ARG 1 outer
|
||||
ARG 2 inner
|
||||
METHOD method_30455 getOuter ()Lnet/minecraft/class_3243;
|
||||
METHOD method_30457 getInner ()Lnet/minecraft/class_3243;
|
||||
|
|
|
@ -4,6 +4,6 @@ CLASS net/minecraft/class_2997 net/minecraft/world/gen/decorator/RangeDecoratorC
|
|||
FIELD field_13434 bottomOffset I
|
||||
FIELD field_24879 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (III)V
|
||||
ARG 1 count
|
||||
ARG 2 bottomOffset
|
||||
ARG 3 topOffset
|
||||
ARG 1 bottomOffset
|
||||
ARG 2 topOffset
|
||||
ARG 3 maximum
|
||||
|
|
|
@ -29,6 +29,9 @@ CLASS net/minecraft/class_5464 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
FIELD field_26162 NETHER_ORE Lnet/minecraft/class_3243;
|
||||
FIELD field_26163 NETHER_SPRING Lnet/minecraft/class_3243;
|
||||
FIELD field_26164 SPREAD_32_ABOVE Lnet/minecraft/class_3243;
|
||||
FIELD field_26165 SQUARE_HEIGHTMAP Lnet/minecraft/class_3243;
|
||||
FIELD field_26166 SQUARE_HEIGHTMAP_SPREAD_DOUBLE Lnet/minecraft/class_3243;
|
||||
FIELD field_26167 SQUARE_TOP_SOLID_HEIGHTMAP Lnet/minecraft/class_3243;
|
||||
CLASS class_5467 States
|
||||
FIELD field_26168 RED_MUSHROOM Lnet/minecraft/class_2680;
|
||||
FIELD field_26169 PACKED_ICE Lnet/minecraft/class_2680;
|
||||
|
|
Loading…
Reference in New Issue