2020-04-05 10:53:26 -04:00
|
|
|
CLASS net/minecraft/class_5141 net/minecraft/world/gen/trunk/TrunkPlacer
|
|
|
|
FIELD field_23760 baseHeight I
|
|
|
|
FIELD field_23761 firstRandomHeight I
|
|
|
|
FIELD field_23762 secondRandomHeight I
|
2021-03-11 18:33:10 -05:00
|
|
|
FIELD field_24972 TYPE_CODEC Lcom/mojang/serialization/Codec;
|
2021-06-11 19:32:38 -04:00
|
|
|
FIELD field_31528 MAX_BASE_HEIGHT I
|
|
|
|
FIELD field_31529 MAX_RANDOM_HEIGHT I
|
2020-05-20 12:12:58 -04:00
|
|
|
METHOD <init> (III)V
|
2020-04-05 10:53:26 -04:00
|
|
|
ARG 1 baseHeight
|
|
|
|
ARG 2 firstRandomHeight
|
|
|
|
ARG 3 secondRandomHeight
|
2021-03-31 14:47:17 -04:00
|
|
|
METHOD method_26991 generate (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;ILnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Ljava/util/List;
|
2020-04-29 15:28:00 -04:00
|
|
|
COMMENT Generates the trunk blocks and return a list of tree nodes to place foliage around
|
2021-04-28 09:57:24 -04:00
|
|
|
ARG 1 world
|
|
|
|
ARG 2 replacer
|
|
|
|
ARG 3 random
|
|
|
|
ARG 4 height
|
|
|
|
ARG 5 startPos
|
|
|
|
ARG 6 config
|
2020-04-22 11:59:47 -04:00
|
|
|
METHOD method_26993 getHeight (Ljava/util/Random;)I
|
2020-04-05 10:53:26 -04:00
|
|
|
ARG 1 random
|
2021-03-31 14:47:17 -04:00
|
|
|
METHOD method_27400 setToDirt (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4643;)V
|
2021-04-28 09:57:24 -04:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 replacer
|
|
|
|
ARG 2 random
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 config
|
2021-03-31 14:47:17 -04:00
|
|
|
METHOD method_27401 trySetState (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4643;)V
|
2021-04-28 09:57:24 -04:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 replacer
|
|
|
|
ARG 2 random
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 config
|
2021-03-31 14:47:17 -04:00
|
|
|
METHOD method_27402 getAndSetState (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4643;Ljava/util/function/Function;)Z
|
2021-04-28 09:57:24 -04:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 replacer
|
|
|
|
ARG 2 random
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 config
|
|
|
|
ARG 5 stateProvider
|
2020-11-04 15:27:44 -05:00
|
|
|
METHOD method_27403 canGenerate (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
|
|
|
|
ARG 0 world
|
|
|
|
ARG 1 pos
|
|
|
|
METHOD method_27405 (Lnet/minecraft/class_2680;)Z
|
|
|
|
ARG 0 state
|
2020-06-24 12:35:17 -04:00
|
|
|
METHOD method_28903 getType ()Lnet/minecraft/class_5142;
|
2021-03-11 18:33:10 -05:00
|
|
|
METHOD method_28904 fillTrunkPlacerFields (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P3;
|
|
|
|
ARG 0 instance
|
2021-04-28 09:57:24 -04:00
|
|
|
METHOD method_28905 (Lnet/minecraft/class_5141;)Ljava/lang/Integer;
|
|
|
|
ARG 0 placer
|
|
|
|
METHOD method_28906 (Lnet/minecraft/class_5141;)Ljava/lang/Integer;
|
|
|
|
ARG 0 placer
|
|
|
|
METHOD method_28907 (Lnet/minecraft/class_5141;)Ljava/lang/Integer;
|
|
|
|
ARG 0 placer
|
|
|
|
METHOD method_35375 getAndSetState (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4643;)Z
|
|
|
|
ARG 0 world
|
|
|
|
ARG 1 replacer
|
|
|
|
ARG 2 random
|
|
|
|
ARG 3 pos
|
|
|
|
ARG 4 config
|