mirror of https://github.com/FabricMC/yarn.git
Map tree decorator (#2345)
This commit is contained in:
parent
682eb367c8
commit
90d97a00af
|
@ -5,5 +5,17 @@ CLASS net/minecraft/class_4658 net/minecraft/world/gen/treedecorator/AlterGround
|
|||
ARG 1 provider
|
||||
METHOD method_23460 (ILnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_23461 (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 4 pos
|
||||
METHOD method_23462 setArea (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 replacer
|
||||
ARG 3 random
|
||||
ARG 4 pos
|
||||
METHOD method_23463 setColumn (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 replacer
|
||||
ARG 3 random
|
||||
ARG 4 pos
|
||||
METHOD method_28889 (Lnet/minecraft/class_4658;)Lnet/minecraft/class_4651;
|
||||
ARG 0 decorator
|
||||
|
|
|
@ -7,3 +7,5 @@ CLASS net/minecraft/class_4659 net/minecraft/world/gen/treedecorator/BeehiveTree
|
|||
ARG 1 pos
|
||||
METHOD method_28890 (Lnet/minecraft/class_4659;)Ljava/lang/Float;
|
||||
ARG 0 decorator
|
||||
METHOD method_35373 (Ljava/util/Random;Lnet/minecraft/class_4482;)V
|
||||
ARG 1 blockEntity
|
||||
|
|
|
@ -5,3 +5,7 @@ CLASS net/minecraft/class_4660 net/minecraft/world/gen/treedecorator/CocoaBeansT
|
|||
ARG 1 probability
|
||||
METHOD method_23465 (ILnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_23466 (Ljava/util/Random;Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_2338;)V
|
||||
ARG 3 pos
|
||||
METHOD method_28891 (Lnet/minecraft/class_4660;)Ljava/lang/Float;
|
||||
ARG 0 decorator
|
||||
|
|
|
@ -3,3 +3,9 @@ CLASS net/minecraft/class_4661 net/minecraft/world/gen/treedecorator/LeavesVineT
|
|||
FIELD field_24961 INSTANCE Lnet/minecraft/class_4661;
|
||||
METHOD method_23467 placeVines (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;Ljava/util/function/BiConsumer;)V
|
||||
COMMENT Places a vine at a given position and then up to 4 more vines going downwards.
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
ARG 2 facing
|
||||
ARG 3 replacer
|
||||
METHOD method_23468 (Ljava/util/Random;Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_2338;)V
|
||||
ARG 3 pos
|
||||
|
|
|
@ -2,6 +2,13 @@ CLASS net/minecraft/class_4662 net/minecraft/world/gen/treedecorator/TreeDecorat
|
|||
COMMENT Tree decorators can add additional blocks to trees, such as vines or beehives.
|
||||
FIELD field_24962 TYPE_CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD method_23469 generate (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Ljava/util/List;Ljava/util/List;)V
|
||||
ARG 4 leavesPositions
|
||||
ARG 1 world
|
||||
ARG 2 replacer
|
||||
ARG 3 random
|
||||
ARG 4 logPositions
|
||||
ARG 5 leavesPositions
|
||||
METHOD method_23471 placeVine (Ljava/util/function/BiConsumer;Lnet/minecraft/class_2338;Lnet/minecraft/class_2746;)V
|
||||
ARG 0 replacer
|
||||
ARG 1 pos
|
||||
ARG 2 facing
|
||||
METHOD method_28893 getType ()Lnet/minecraft/class_4663;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
CLASS net/minecraft/class_4664 net/minecraft/world/gen/treedecorator/TrunkVineTreeDecorator
|
||||
FIELD field_24964 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24965 INSTANCE Lnet/minecraft/class_4664;
|
||||
METHOD method_23474 (Ljava/util/Random;Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_2338;)V
|
||||
ARG 3 pos
|
||||
|
|
Loading…
Reference in New Issue