mirror of https://github.com/FabricMC/yarn.git
Foliage placer classes (#1694)
This commit is contained in:
parent
ee1d477e18
commit
1dab54ff05
|
@ -1,3 +0,0 @@
|
|||
CLASS net/minecraft/class_5209 net/minecraft/world/gen/feature/JungleFoliagePlacer
|
||||
FIELD field_24166 height I
|
||||
FIELD field_24933 CODEC Lcom/mojang/serialization/Codec;
|
|
@ -1,3 +0,0 @@
|
|||
CLASS net/minecraft/class_5210 net/minecraft/world/gen/feature/MegaPineFoliagePlacer
|
||||
FIELD field_24168 crownHeight Lnet/minecraft/class_5428;
|
||||
FIELD field_24934 CODEC Lcom/mojang/serialization/Codec;
|
|
@ -1,3 +1,7 @@
|
|||
CLASS net/minecraft/class_4646 net/minecraft/world/gen/foliage/BlobFoliagePlacer
|
||||
FIELD field_23752 height I
|
||||
FIELD field_24927 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;I)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 height
|
||||
|
|
|
@ -1,42 +1,60 @@
|
|||
CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
||||
FIELD field_21296 radius Lnet/minecraft/class_5428;
|
||||
FIELD field_23753 offset Lnet/minecraft/class_5428;
|
||||
FIELD field_24931 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24931 TYPE_CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
METHOD method_23448 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4643;ILnet/minecraft/class_4647$class_5208;IILjava/util/Set;ILnet/minecraft/class_3341;)V
|
||||
COMMENT This is the main method used to generate foliage.
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 trunkHeight
|
||||
ARG 5 treeNode
|
||||
ARG 6 foliageHeight
|
||||
ARG 7 radius
|
||||
ARG 8 leaves
|
||||
ARG 9 offset
|
||||
ARG 10 box
|
||||
METHOD method_23449 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4643;Lnet/minecraft/class_2338;ILjava/util/Set;IZLnet/minecraft/class_3341;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 pos
|
||||
ARG 5 baseHeight
|
||||
ARG 6 leaves
|
||||
ARG 7 offset
|
||||
ARG 8 giantTrunk
|
||||
ARG 9 box
|
||||
METHOD method_23451 isInvalidForLeaves (Ljava/util/Random;IIIIZ)Z
|
||||
ARG 1 random
|
||||
ARG 2 baseHeight
|
||||
ARG 3 dx
|
||||
ARG 4 dy
|
||||
ARG 5 dz
|
||||
METHOD method_23452 getRadius (Ljava/util/Random;I)I
|
||||
ARG 6 giantTrunk
|
||||
METHOD method_23452 getRandomRadius (Ljava/util/Random;I)I
|
||||
ARG 1 random
|
||||
ARG 2 baseHeight
|
||||
METHOD method_26989 getHeight (Ljava/util/Random;ILnet/minecraft/class_4643;)I
|
||||
METHOD method_26989 getRandomHeight (Ljava/util/Random;ILnet/minecraft/class_4643;)I
|
||||
ARG 1 random
|
||||
ARG 2 trunkHeight
|
||||
ARG 3 config
|
||||
METHOD method_27385 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4643;ILnet/minecraft/class_4647$class_5208;IILjava/util/Set;Lnet/minecraft/class_3341;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 trunkHeight
|
||||
ARG 5 treeNode
|
||||
ARG 6 foliageHeight
|
||||
ARG 7 radius
|
||||
ARG 8 leaves
|
||||
ARG 9 box
|
||||
METHOD method_27386 getRandomOffset (Ljava/util/Random;)I
|
||||
ARG 1 random
|
||||
METHOD method_28843 getType ()Lnet/minecraft/class_4648;
|
||||
METHOD method_30411 fillFoliagePlacerFields (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P2;
|
||||
CLASS class_5208 TreeNode
|
||||
COMMENT A point on a tree to generate foliage around
|
||||
FIELD field_24158 center Lnet/minecraft/class_2338;
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
CLASS net/minecraft/class_5209 net/minecraft/world/gen/foliage/JungleFoliagePlacer
|
||||
FIELD field_24166 height I
|
||||
FIELD field_24933 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;I)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 height
|
|
@ -0,0 +1,7 @@
|
|||
CLASS net/minecraft/class_5210 net/minecraft/world/gen/foliage/MegaPineFoliagePlacer
|
||||
FIELD field_24168 crownHeight Lnet/minecraft/class_5428;
|
||||
FIELD field_24934 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 crownHeight
|
|
@ -1,3 +1,7 @@
|
|||
CLASS net/minecraft/class_4649 net/minecraft/world/gen/foliage/PineFoliagePlacer
|
||||
FIELD field_23755 height Lnet/minecraft/class_5428;
|
||||
FIELD field_24935 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 height
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
CLASS net/minecraft/class_4650 net/minecraft/world/gen/foliage/SpruceFoliagePlacer
|
||||
FIELD field_23757 trunkHeight Lnet/minecraft/class_5428;
|
||||
FIELD field_24936 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 trunkHeight
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
CLASS net/minecraft/class_4663 net/minecraft/world/gen/tree/TreeDecoratorType
|
||||
FIELD field_24963 codec Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lcom/mojang/serialization/Codec;)V
|
||||
ARG 1 codec
|
||||
METHOD method_28894 getCodec ()Lcom/mojang/serialization/Codec;
|
||||
METHOD method_28895 register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4663;
|
||||
ARG 0 id
|
||||
|
|
Loading…
Reference in New Issue