mirror of https://github.com/FabricMC/yarn.git
multiplayer enigma boogaloo (#1298)
* a lot of very random mappings * fix mappings * typo * Update mappings/net/minecraft/client/font/TextRenderer.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
9a617e4707
commit
aab2c54e5c
|
@ -1,6 +0,0 @@
|
|||
CLASS net/minecraft/class_5212
|
||||
CLASS class_5213
|
||||
FIELD field_24170 _width I
|
||||
METHOD <init> (Lnet/minecraft/class_2338;I)V
|
||||
ARG 2 width
|
||||
METHOD method_27397 getWidth ()I
|
|
@ -164,6 +164,35 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer
|
|||
ARG 9 backgroundColor
|
||||
ARG 10 light
|
||||
ARG 11 rightToLeft
|
||||
METHOD method_27517 drawWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;FFI)I
|
||||
ARG 1 matrices
|
||||
ARG 2 text
|
||||
ARG 3 x
|
||||
ARG 4 y
|
||||
ARG 5 color
|
||||
METHOD method_27520 draw (Ljava/lang/String;FFILnet/minecraft/class_1159;ZZ)I
|
||||
ARG 1 text
|
||||
ARG 2 x
|
||||
ARG 3 y
|
||||
ARG 4 color
|
||||
ARG 5 matrix
|
||||
ARG 6 shadow
|
||||
ARG 7 mirror
|
||||
METHOD method_27525 getStringWidth (Lnet/minecraft/class_2561;)I
|
||||
ARG 1 text
|
||||
METHOD method_27528 draw (Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;FFI)I
|
||||
ARG 1 matrices
|
||||
ARG 2 text
|
||||
ARG 3 x
|
||||
ARG 4 y
|
||||
ARG 5 color
|
||||
METHOD method_27529 (Ljava/lang/String;FFIZLnet/minecraft/class_1159;Lnet/minecraft/class_4597;ZIIZ)I
|
||||
ARG 1 text
|
||||
ARG 2 x
|
||||
ARG 3 y
|
||||
ARG 4 color
|
||||
ARG 5 shadow
|
||||
ARG 11 mirror
|
||||
METHOD method_27530 drawLayer (Lnet/minecraft/class_2561;FFIZLnet/minecraft/class_1159;Lnet/minecraft/class_4597;ZII)F
|
||||
ARG 1 text
|
||||
ARG 2 x
|
||||
|
|
|
@ -8,17 +8,38 @@ CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawableHelper
|
|||
FIELD field_22737 GUI_ICONS_TEXTURE Lnet/minecraft/class_2960;
|
||||
COMMENT The texture of various icons and widgets used for rendering ingame indicators.
|
||||
METHOD method_25290 drawTexture (Lnet/minecraft/class_4587;IIFFIIII)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25291 drawTexture (Lnet/minecraft/class_4587;IIIFFIIII)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25292 drawHorizontalLine (Lnet/minecraft/class_4587;IIII)V
|
||||
ARG 1 matrices
|
||||
ARG 2 x1
|
||||
ARG 3 x2
|
||||
ARG 4 y
|
||||
ARG 5 color
|
||||
METHOD method_25293 drawTexture (Lnet/minecraft/class_4587;IIIIFFIIII)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25294 fill (Lnet/minecraft/class_4587;IIIII)V
|
||||
ARG 0 matrices
|
||||
ARG 1 x1
|
||||
ARG 2 y1
|
||||
ARG 3 x2
|
||||
ARG 4 y2
|
||||
ARG 5 color
|
||||
METHOD method_25295 drawTexturedQuad (Lnet/minecraft/class_1159;IIIIIFFFF)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25296 fillGradient (Lnet/minecraft/class_4587;IIIIII)V
|
||||
ARG 4 yEnd
|
||||
ARG 5 colorStart
|
||||
ARG 6 colorEnd
|
||||
ARG 1 matrices
|
||||
ARG 2 xStart
|
||||
ARG 3 yStart
|
||||
ARG 4 xEnd
|
||||
ARG 5 yEnd
|
||||
ARG 6 colorStart
|
||||
ARG 7 colorEnd
|
||||
METHOD method_25297 drawTexture (Lnet/minecraft/class_4587;IIIIIIIFFII)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25298 drawSprite (Lnet/minecraft/class_4587;IIIIILnet/minecraft/class_1058;)V
|
||||
ARG 0 matrices
|
||||
METHOD method_25299 fill (Lnet/minecraft/class_1159;IIIII)V
|
||||
ARG 0 matrix
|
||||
ARG 1 x1
|
||||
|
@ -27,9 +48,38 @@ CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawableHelper
|
|||
ARG 4 y2
|
||||
ARG 5 color
|
||||
METHOD method_25300 drawCenteredString (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Ljava/lang/String;III)V
|
||||
ARG 1 matrices
|
||||
ARG 2 textRenderer
|
||||
ARG 3 text
|
||||
ARG 4 x
|
||||
ARG 5 y
|
||||
METHOD method_25301 drawVerticalLine (Lnet/minecraft/class_4587;IIII)V
|
||||
ARG 1 matrices
|
||||
ARG 2 x
|
||||
ARG 3 y1
|
||||
ARG 4 y2
|
||||
ARG 5 color
|
||||
METHOD method_25302 drawTexture (Lnet/minecraft/class_4587;IIIIII)V
|
||||
ARG 1 matrices
|
||||
ARG 2 x
|
||||
ARG 3 y
|
||||
METHOD method_25303 drawString (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Ljava/lang/String;III)V
|
||||
ARG 1 matrices
|
||||
ARG 3 text
|
||||
METHOD method_25304 setZOffset (I)V
|
||||
ARG 1 zOffset
|
||||
METHOD method_25305 getZOffset ()I
|
||||
METHOD method_27533 fillGradient (Lnet/minecraft/class_1159;IIIIII)V
|
||||
ARG 1 matrix
|
||||
ARG 2 xStart
|
||||
ARG 3 yStart
|
||||
ARG 4 xEnd
|
||||
ARG 5 yEnd
|
||||
ARG 6 colorStart
|
||||
ARG 7 colorEnd
|
||||
METHOD method_27534 drawStringWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)V
|
||||
ARG 1 matrices
|
||||
ARG 2 textRenderer
|
||||
ARG 3 text
|
||||
METHOD method_27535 (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)V
|
||||
ARG 1 matrices
|
||||
|
|
|
@ -16,6 +16,10 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
|
|||
METHOD method_25408 getTooltipFromItem (Lnet/minecraft/class_1799;)Ljava/util/List;
|
||||
ARG 1 stack
|
||||
METHOD method_25409 renderTooltip (Lnet/minecraft/class_4587;Lnet/minecraft/class_1799;II)V
|
||||
ARG 1 matrices
|
||||
ARG 2 stack
|
||||
ARG 3 x
|
||||
ARG 4 y
|
||||
METHOD method_25410 resize (Lnet/minecraft/class_310;II)V
|
||||
ARG 1 client
|
||||
ARG 2 width
|
||||
|
@ -36,9 +40,16 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
|
|||
METHOD method_25416 openLink (Ljava/net/URI;)V
|
||||
ARG 1 link
|
||||
METHOD method_25417 renderTooltip (Lnet/minecraft/class_4587;Ljava/util/List;II)V
|
||||
ARG 1 matrices
|
||||
ARG 2 lines
|
||||
ARG 3 x
|
||||
ARG 4 y
|
||||
METHOD method_25418 renderTextHoverEffect (Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)V
|
||||
ARG 1 matrices
|
||||
ARG 2 text
|
||||
METHOD method_25419 onClose ()V
|
||||
METHOD method_25420 renderBackground (Lnet/minecraft/class_4587;)V
|
||||
ARG 1 matrices
|
||||
METHOD method_25421 isPauseScreen ()Z
|
||||
METHOD method_25422 shouldCloseOnEsc ()Z
|
||||
METHOD method_25423 init (Lnet/minecraft/class_310;II)V
|
||||
|
@ -46,6 +57,10 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
|
|||
ARG 2 width
|
||||
ARG 3 height
|
||||
METHOD method_25424 renderTooltip (Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)V
|
||||
ARG 1 matrices
|
||||
ARG 2 line
|
||||
ARG 3 x
|
||||
ARG 4 y
|
||||
METHOD method_25425 sendMessage (Ljava/lang/String;Z)V
|
||||
ARG 1 message
|
||||
ARG 2 toHud
|
||||
|
@ -55,11 +70,14 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
|
|||
METHOD method_25428 confirmLink (Z)V
|
||||
ARG 1 open
|
||||
METHOD method_25429 addChild (Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
|
||||
ARG 1 child
|
||||
METHOD method_25430 handleTextClick (Lnet/minecraft/class_2561;)Z
|
||||
ARG 1 text
|
||||
METHOD method_25431 tick ()V
|
||||
METHOD method_25432 removed ()V
|
||||
METHOD method_25433 renderBackground (Lnet/minecraft/class_4587;I)V
|
||||
ARG 1 matrices
|
||||
ARG 2 alpha
|
||||
METHOD method_25434 renderDirtBackground (I)V
|
||||
ARG 1 alpha
|
||||
METHOD method_25435 getNarrationMessage ()Ljava/lang/String;
|
||||
|
|
|
@ -17,6 +17,7 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/AbstractButtonWidg
|
|||
ARG 2 y
|
||||
ARG 3 width
|
||||
ARG 4 height
|
||||
ARG 5 message
|
||||
METHOD method_25348 onClick (DD)V
|
||||
ARG 1 mouseX
|
||||
ARG 3 mouseY
|
||||
|
@ -31,7 +32,10 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/AbstractButtonWidg
|
|||
ARG 1 button
|
||||
METHOD method_25352 renderToolTip (Lnet/minecraft/class_4587;II)V
|
||||
METHOD method_25353 renderBg (Lnet/minecraft/class_4587;Lnet/minecraft/class_310;II)V
|
||||
ARG 3 mouseY
|
||||
ARG 1 matrices
|
||||
ARG 2 client
|
||||
ARG 3 mouseX
|
||||
ARG 4 mouseY
|
||||
METHOD method_25354 playDownSound (Lnet/minecraft/class_1144;)V
|
||||
ARG 1 soundManager
|
||||
METHOD method_25355 setMessage (Lnet/minecraft/class_2561;)V
|
||||
|
@ -43,6 +47,10 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/AbstractButtonWidg
|
|||
METHOD method_25358 setWidth (I)V
|
||||
ARG 1 value
|
||||
METHOD method_25359 renderButton (Lnet/minecraft/class_4587;IIF)V
|
||||
ARG 1 matrices
|
||||
ARG 2 mouseX
|
||||
ARG 3 mouseY
|
||||
ARG 4 delta
|
||||
METHOD method_25360 getNarrationMessage ()Lnet/minecraft/class_5250;
|
||||
METHOD method_25361 clicked (DD)Z
|
||||
ARG 1 mouseX
|
||||
|
|
|
@ -5,6 +5,7 @@ CLASS net/minecraft/class_4185 net/minecraft/client/gui/widget/ButtonWidget
|
|||
ARG 2 y
|
||||
ARG 3 width
|
||||
ARG 4 height
|
||||
ARG 5 message
|
||||
ARG 6 onPress
|
||||
CLASS class_4241 PressAction
|
||||
METHOD onPress (Lnet/minecraft/class_4185;)V
|
||||
|
|
|
@ -195,3 +195,5 @@ CLASS net/minecraft/class_3532 net/minecraft/util/math/MathHelper
|
|||
ARG 0 value
|
||||
ARG 2 min
|
||||
ARG 4 max
|
||||
METHOD method_27285 square (F)F
|
||||
ARG 0 n
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
CLASS net/minecraft/class_5216 net/minecraft/util/math/noise/DoublePerlinNoiseSampler
|
||||
FIELD field_24175 amplitude D
|
||||
FIELD field_24176 firstSampler Lnet/minecraft/class_3537;
|
||||
FIELD field_24177 secondSampler Lnet/minecraft/class_3537;
|
||||
METHOD <init> (Lnet/minecraft/class_2919;Ljava/util/List;)V
|
||||
ARG 2 octaves
|
||||
METHOD method_27406 sample (DDD)D
|
||||
ARG 1 x
|
||||
ARG 3 y
|
||||
ARG 5 z
|
||||
METHOD method_27407 createAmplitude (I)D
|
||||
ARG 0 octaves
|
|
@ -33,6 +33,7 @@ CLASS net/minecraft/class_1959 net/minecraft/world/biome/Biome
|
|||
METHOD method_24935 getLoopSound ()Ljava/util/Optional;
|
||||
METHOD method_24936 getMoodSound ()Ljava/util/Optional;
|
||||
METHOD method_24937 getAdditionsSound ()Ljava/util/Optional;
|
||||
METHOD method_27342 streamNoises ()Ljava/util/stream/Stream;
|
||||
METHOD method_8684 hasStructureFeature (Lnet/minecraft/class_3195;)Z
|
||||
METHOD method_8685 canSetIce (Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Z)Z
|
||||
ARG 1 world
|
||||
|
|
|
@ -139,6 +139,9 @@ CLASS net/minecraft/class_3864 net/minecraft/world/biome/DefaultBiomeFeatures
|
|||
FIELD field_22064 SOUL_SOIL Lnet/minecraft/class_2680;
|
||||
FIELD field_22065 CRIMSON_ROOTS Lnet/minecraft/class_2680;
|
||||
FIELD field_23076 NETHER_GOLD_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_24110 VERY_RARE_BEEHIVES_CONFIG Lnet/minecraft/class_4659;
|
||||
FIELD field_24111 REGULAR_BEEHIVES_CONFIG Lnet/minecraft/class_4659;
|
||||
FIELD field_24112 MORE_BEEHIVES_CONFIG Lnet/minecraft/class_4659;
|
||||
METHOD method_16957 addMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
ARG 0 biome
|
||||
METHOD method_16958 addExtraMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
|
|
|
@ -32,6 +32,7 @@ CLASS net/minecraft/class_2794 net/minecraft/world/gen/chunk/ChunkGenerator
|
|||
METHOD method_12107 populateEntities (Lnet/minecraft/class_3233;)V
|
||||
ARG 1 region
|
||||
METHOD method_12108 carve (Lnet/minecraft/class_4543;Lnet/minecraft/class_2791;Lnet/minecraft/class_2893$class_2894;)V
|
||||
ARG 3 carver
|
||||
METHOD method_12109 getConfig ()Lnet/minecraft/class_2888;
|
||||
METHOD method_12110 buildSurface (Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)V
|
||||
ARG 1 region
|
||||
|
@ -46,6 +47,7 @@ CLASS net/minecraft/class_2794 net/minecraft/world/gen/chunk/ChunkGenerator
|
|||
ARG 3 heightmapType
|
||||
METHOD method_16398 getSeaLevel ()I
|
||||
METHOD method_16554 getDecorationBiome (Lnet/minecraft/class_4543;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1959;
|
||||
ARG 1 biomeAccess
|
||||
ARG 2 pos
|
||||
METHOD method_18028 getHeightInGround (IILnet/minecraft/class_2902$class_2903;)I
|
||||
ARG 1 x
|
||||
|
@ -58,3 +60,5 @@ CLASS net/minecraft/class_2794 net/minecraft/world/gen/chunk/ChunkGenerator
|
|||
METHOD method_26261 getColumnSample (II)Lnet/minecraft/class_1922;
|
||||
ARG 1 x
|
||||
ARG 2 z
|
||||
METHOD method_27192 getDimensionType ()Lnet/minecraft/class_2874;
|
||||
METHOD method_27367 hasStructure (Lnet/minecraft/class_3195;)Z
|
||||
|
|
|
@ -41,3 +41,7 @@ CLASS net/minecraft/class_3754 net/minecraft/world/gen/chunk/SurfaceChunkGenerat
|
|||
ARG 1 buffer
|
||||
ARG 2 x
|
||||
ARG 3 z
|
||||
METHOD method_26262 getBlockState (DI)Lnet/minecraft/class_2680;
|
||||
ARG 1 density
|
||||
ARG 3 y
|
||||
METHOD method_26263 sampleHeightmap (II[Lnet/minecraft/class_2680;Ljava/util/function/Predicate;)I
|
||||
|
|
|
@ -48,3 +48,4 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/AbstractTreeFeatu
|
|||
ARG 6 decorator
|
||||
METHOD method_23384 (Lnet/minecraft/class_2680;)Z
|
||||
ARG 0 state
|
||||
METHOD method_27371 canReplace (Lnet/minecraft/class_3747;Lnet/minecraft/class_2338;)Z
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
CLASS net/minecraft/class_5209 net/minecraft/world/gen/feature/JungleFoliagePlacer
|
||||
FIELD field_24166 height I
|
||||
METHOD <init> (IIIII)V
|
||||
ARG 1 radius
|
||||
ARG 2 randomRadius
|
||||
ARG 3 offset
|
||||
ARG 4 randomOffset
|
||||
ARG 5 height
|
|
@ -0,0 +1,10 @@
|
|||
CLASS net/minecraft/class_5210 net/minecraft/world/gen/feature/MegaPineFoliagePlacer
|
||||
FIELD field_24167 heightRange I
|
||||
FIELD field_24168 crownHeight I
|
||||
METHOD <init> (IIIIII)V
|
||||
ARG 1 radius
|
||||
ARG 2 randomRadius
|
||||
ARG 3 offset
|
||||
ARG 4 randomOffset
|
||||
ARG 5 heightRange
|
||||
ARG 6 crownHeight
|
|
@ -4,17 +4,26 @@ CLASS net/minecraft/class_4643 net/minecraft/world/gen/feature/TreeFeatureConfig
|
|||
FIELD field_21290 decorators Ljava/util/List;
|
||||
FIELD field_21291 baseHeight I
|
||||
FIELD field_21593 skipFluidCheck Z
|
||||
FIELD field_24135 foliagePlacer Lnet/minecraft/class_4647;
|
||||
FIELD field_24136 trunkPlacer Lnet/minecraft/class_5141;
|
||||
FIELD field_24137 featureSize Lnet/minecraft/class_5201;
|
||||
FIELD field_24138 ignoreVines Z
|
||||
FIELD field_24139 heightmap Lnet/minecraft/class_2902$class_2903;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Lnet/minecraft/class_5141;Lnet/minecraft/class_5201;Ljava/util/List;IZLnet/minecraft/class_2902$class_2903;)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
ARG 3 foliagePlacer
|
||||
ARG 9 heightmapType
|
||||
METHOD method_23444 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4643;
|
||||
ARG 0 configDeserializer
|
||||
METHOD method_23916 ignoreFluidCheck ()V
|
||||
METHOD method_27373 setTreeDecorators (Ljava/util/List;)Lnet/minecraft/class_4643;
|
||||
CLASS class_4644 Builder
|
||||
FIELD field_21292 trunkProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21293 leavesProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21294 decorators Ljava/util/List;
|
||||
FIELD field_21295 baseHeight I
|
||||
FIELD field_24144 heightmap Lnet/minecraft/class_2902$class_2903;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Lnet/minecraft/class_5141;Lnet/minecraft/class_5201;)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
CLASS net/minecraft/class_5201 net/minecraft/world/gen/feature/size/FeatureSize
|
||||
FIELD field_24145 type Lnet/minecraft/class_5202;
|
||||
FIELD field_24146 minClippedHeight Ljava/util/OptionalInt;
|
||||
METHOD <init> (Lnet/minecraft/class_5202;Ljava/util/OptionalInt;)V
|
||||
ARG 1 type
|
||||
ARG 2 minClippedHeight
|
||||
METHOD method_27377 getMinClippedHeight ()Ljava/util/OptionalInt;
|
||||
METHOD method_27380 serialize (Lcom/mojang/datafixers/types/DynamicOps;)Ljava/lang/Object;
|
||||
ARG 1 ops
|
|
@ -0,0 +1,7 @@
|
|||
CLASS net/minecraft/class_5202 net/minecraft/world/gen/feature/size/FeatureSizeType
|
||||
FIELD field_24149 deserializer Ljava/util/function/Function;
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 deserializer
|
||||
METHOD method_27382 register (Ljava/lang/String;Ljava/util/function/Function;)Lnet/minecraft/class_5202;
|
||||
ARG 0 id
|
||||
ARG 1 deserializer
|
|
@ -0,0 +1,13 @@
|
|||
CLASS net/minecraft/class_5203 net/minecraft/world/gen/feature/size/ThreeLayersFeatureSize
|
||||
FIELD field_24150 limit I
|
||||
FIELD field_24151 upperLimit I
|
||||
FIELD field_24152 lowerSize I
|
||||
FIELD field_24153 middleSize I
|
||||
FIELD field_24154 upperSize I
|
||||
METHOD <init> (IIIIILjava/util/OptionalInt;)V
|
||||
ARG 1 limit
|
||||
ARG 2 upperLimit
|
||||
ARG 3 lowerSize
|
||||
ARG 4 middleSize
|
||||
ARG 5 upperSize
|
||||
ARG 6 minClippedHeight
|
|
@ -0,0 +1,3 @@
|
|||
CLASS net/minecraft/class_5204 net/minecraft/world/gen/feature/size/TwoLayersFeatureSize
|
||||
METHOD <init> (IIILjava/util/OptionalInt;)V
|
||||
ARG 4 minClippedHeight
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_5205 net/minecraft/world/gen/foliage/BushFoliagePlacer
|
|
@ -0,0 +1,6 @@
|
|||
CLASS net/minecraft/class_5206 net/minecraft/world/gen/foliage/DarkOakFoliagePlacer
|
||||
METHOD <init> (IIII)V
|
||||
ARG 1 radius
|
||||
ARG 2 randomRadius
|
||||
ARG 3 offset
|
||||
ARG 4 randomOffset
|
|
@ -14,13 +14,18 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
COMMENT This is the main method used to generate foliage.
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 trunkHeight
|
||||
ARG 6 foliageHeight
|
||||
ARG 7 radius
|
||||
ARG 8 leaves
|
||||
METHOD method_23449 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4643;Lnet/minecraft/class_2338;ILjava/util/Set;IZ)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 5 baseHeight
|
||||
ARG 6 leaves
|
||||
ARG 8 giantTrunk
|
||||
METHOD method_23451 isInvalidForLeaves (Ljava/util/Random;IIIIZ)Z
|
||||
ARG 2 baseHeight
|
||||
ARG 3 dx
|
||||
|
@ -32,3 +37,24 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
METHOD method_26989 getHeight (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;)V
|
||||
ARG 1 world
|
||||
ARG 3 config
|
||||
ARG 4 trunkHeight
|
||||
ARG 6 foliageHeight
|
||||
ARG 7 radius
|
||||
ARG 8 leaves
|
||||
CLASS class_5208 TreeNode
|
||||
COMMENT A point on a tree to generate foliage around
|
||||
FIELD field_24158 center Lnet/minecraft/class_2338;
|
||||
FIELD field_24159 foliageRadius I
|
||||
FIELD field_24160 giantTrunk Z
|
||||
METHOD <init> (Lnet/minecraft/class_2338;IZ)V
|
||||
ARG 1 center
|
||||
ARG 2 foliageRadius
|
||||
ARG 3 giantTrunk
|
||||
METHOD method_27388 getCenter ()Lnet/minecraft/class_2338;
|
||||
METHOD method_27389 getFoliageRadius ()I
|
||||
METHOD method_27390 isGiantTrunk ()Z
|
||||
COMMENT Whether this node is the top of a giant (2x2 block) trunk
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_5207 net/minecraft/world/gen/foliage/LargeOakFoliagePlacer
|
|
@ -1 +1,10 @@
|
|||
CLASS net/minecraft/class_4650 net/minecraft/world/gen/foliage/SpruceFoliagePlacer
|
||||
FIELD field_23757 trunkHeight I
|
||||
FIELD field_23758 randomTrunkHeight I
|
||||
METHOD <init> (IIIIII)V
|
||||
ARG 1 radius
|
||||
ARG 2 randomRadius
|
||||
ARG 3 offset
|
||||
ARG 4 randomOffset
|
||||
ARG 5 trunkHeight
|
||||
ARG 6 randomChunkHeight
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_5211 net/minecraft/world/gen/trunk/DarkOakTrunkPlacer
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_5214 net/minecraft/world/gen/trunk/GiantTrunkPlacer
|
|
@ -0,0 +1,28 @@
|
|||
CLASS net/minecraft/class_5212 net/minecraft/world/gen/trunk/LargeOakTrunkPlacer
|
||||
METHOD method_27391 isHighEnough (II)Z
|
||||
ARG 1 treeHeight
|
||||
ARG 2 height
|
||||
METHOD method_27392 makeBranches (Lnet/minecraft/class_3747;Ljava/util/Random;ILnet/minecraft/class_2338;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)V
|
||||
ARG 1 world
|
||||
ARG 3 treeHeight
|
||||
ARG 4 treePos
|
||||
ARG 5 branches
|
||||
ARG 8 config
|
||||
METHOD method_27393 makeOrCheckBranch (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;ZLjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)Z
|
||||
ARG 1 world
|
||||
ARG 3 start
|
||||
ARG 4 end
|
||||
ARG 5 make
|
||||
ARG 8 config
|
||||
METHOD method_27394 getLongestSide (Lnet/minecraft/class_2338;)I
|
||||
ARG 1 offset
|
||||
METHOD method_27395 getLogAxis (Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2350$class_2351;
|
||||
ARG 1 branchStart
|
||||
ARG 2 branchEnd
|
||||
CLASS class_5213 BranchPosition
|
||||
FIELD field_24169 node Lnet/minecraft/class_4647$class_5208;
|
||||
FIELD field_24170 endY I
|
||||
METHOD <init> (Lnet/minecraft/class_2338;I)V
|
||||
ARG 1 pos
|
||||
ARG 2 width
|
||||
METHOD method_27397 getEndY ()I
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_5215 net/minecraft/world/gen/trunk/MegaJungleTrunkPlacer
|
|
@ -9,8 +9,7 @@ CLASS net/minecraft/class_5141 net/minecraft/world/gen/trunk/TrunkPlacer
|
|||
ARG 3 secondRandomHeight
|
||||
ARG 4 type
|
||||
METHOD method_26991 generate (Lnet/minecraft/class_3747;Ljava/util/Random;ILnet/minecraft/class_2338;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)Ljava/util/List;
|
||||
COMMENT Generates the trunk blocks and return a map from branch tops to the
|
||||
COMMENT radius allowed for foliage generation on that branch top.
|
||||
COMMENT Generates the trunk blocks and return a list of tree nodes to place foliage around
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 trunkHeight
|
||||
|
|
Loading…
Reference in New Issue