mirror of https://github.com/FabricMC/yarn.git
Feature classes (#1758)
This commit is contained in:
parent
afe9d70e5c
commit
398c55be36
|
@ -36,6 +36,12 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
ARG 1 chunkX
|
||||
ARG 2 chunkZ
|
||||
METHOD method_14974 generateStructure (Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;)V
|
||||
ARG 1 world
|
||||
ARG 2 structureAccessor
|
||||
ARG 3 chunkGenerator
|
||||
ARG 4 random
|
||||
ARG 5 box
|
||||
ARG 6 chunkPos
|
||||
METHOD method_14979 isInExistingChunk ()Z
|
||||
METHOD method_16655 init (Lnet/minecraft/class_5455;Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;IILnet/minecraft/class_1959;Lnet/minecraft/class_3037;)V
|
||||
ARG 1 registryManager
|
||||
|
|
|
@ -2,7 +2,9 @@ CLASS net/minecraft/class_3805 net/minecraft/world/gen/feature/AbstractPileFeatu
|
|||
METHOD method_16707 canPlacePileBlock (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
ARG 3 random
|
||||
METHOD method_16708 addPileBlock (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;Lnet/minecraft/class_4634;)V
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
ARG 3 random
|
||||
ARG 4 config
|
||||
|
|
|
@ -1,2 +1,9 @@
|
|||
CLASS net/minecraft/class_5156 net/minecraft/world/gen/feature/BasaltColumnsFeatureConfig
|
||||
FIELD field_24877 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25841 reach Lnet/minecraft/class_5428;
|
||||
FIELD field_25842 height Lnet/minecraft/class_5428;
|
||||
METHOD <init> (Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 reach
|
||||
ARG 2 height
|
||||
METHOD method_30391 getReach ()Lnet/minecraft/class_5428;
|
||||
METHOD method_30394 getHeight ()Lnet/minecraft/class_5428;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
CLASS net/minecraft/class_4634 net/minecraft/world/gen/feature/BlockPileFeatureConfig
|
||||
FIELD field_21229 stateProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_24873 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;)V
|
||||
ARG 1 stateProvider
|
||||
|
|
|
@ -2,11 +2,16 @@ CLASS net/minecraft/class_2975 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
FIELD field_13375 config Lnet/minecraft/class_3037;
|
||||
FIELD field_13376 feature Lnet/minecraft/class_3031;
|
||||
FIELD field_21589 LOGGER Lorg/apache/logging/log4j/Logger;
|
||||
FIELD field_24833 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24833 REGISTRY_CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25833 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_3031;Lnet/minecraft/class_3037;)V
|
||||
ARG 1 feature
|
||||
ARG 2 config
|
||||
METHOD method_12862 generate (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 chunkGenerator
|
||||
ARG 3 random
|
||||
ARG 4 pos
|
||||
METHOD method_23387 withChance (F)Lnet/minecraft/class_3226;
|
||||
ARG 1 chance
|
||||
METHOD method_30380 getFeature ()Lnet/minecraft/class_3031;
|
||||
|
|
|
@ -8,5 +8,12 @@ CLASS net/minecraft/class_5312 net/minecraft/world/gen/feature/ConfiguredStructu
|
|||
ARG 2 config
|
||||
METHOD method_28622 tryPlaceStart (Lnet/minecraft/class_5455;Lnet/minecraft/class_2794;Lnet/minecraft/class_1966;Lnet/minecraft/class_3485;JLnet/minecraft/class_1923;Lnet/minecraft/class_1959;ILnet/minecraft/class_5314;)Lnet/minecraft/class_3449;
|
||||
COMMENT @see StructureFeature#tryPlaceStart
|
||||
ARG 1 registryManager
|
||||
ARG 2 chunkGenerator
|
||||
ARG 3 biomeSource
|
||||
ARG 4 structureManager
|
||||
ARG 5 worldSeed
|
||||
ARG 7 chunkPos
|
||||
ARG 8 biome
|
||||
ARG 9 referenceCount
|
||||
ARG 10 structureConfig
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_5154 net/minecraft/world/gen/feature/DeltaFeature
|
||||
FIELD field_23883 DIRECTIONS [Lnet/minecraft/class_2350;
|
||||
|
|
|
@ -2,6 +2,14 @@ CLASS net/minecraft/class_5158 net/minecraft/world/gen/feature/DeltaFeatureConfi
|
|||
FIELD field_23895 contents Lnet/minecraft/class_2680;
|
||||
FIELD field_23896 rim Lnet/minecraft/class_2680;
|
||||
FIELD field_24881 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25843 size Lnet/minecraft/class_5428;
|
||||
FIELD field_25844 rimSize Lnet/minecraft/class_5428;
|
||||
METHOD <init> (Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_5428;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 contents
|
||||
ARG 2 rim
|
||||
ARG 3 size
|
||||
ARG 4 rimSize
|
||||
METHOD method_30397 getContents ()Lnet/minecraft/class_2680;
|
||||
METHOD method_30400 getRim ()Lnet/minecraft/class_2680;
|
||||
METHOD method_30402 getSize ()Lnet/minecraft/class_5428;
|
||||
METHOD method_30403 getRimSize ()Lnet/minecraft/class_5428;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
CLASS net/minecraft/class_3013 net/minecraft/world/gen/feature/DiskFeatureConfig
|
||||
FIELD field_13469 targets Ljava/util/List;
|
||||
FIELD field_13470 state Lnet/minecraft/class_2680;
|
||||
FIELD field_13471 ySize I
|
||||
FIELD field_13471 halfHeight I
|
||||
FIELD field_13472 radius Lnet/minecraft/class_5428;
|
||||
FIELD field_24882 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_2680;Lnet/minecraft/class_5428;ILjava/util/List;)V
|
||||
ARG 1 state
|
||||
ARG 3 ySize
|
||||
ARG 2 radius
|
||||
ARG 3 halfHeight
|
||||
ARG 4 targets
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
CLASS net/minecraft/class_3310 net/minecraft/world/gen/feature/EndSpikeFeature
|
||||
FIELD field_14309 CACHE Lcom/google/common/cache/LoadingCache;
|
||||
METHOD method_14506 getSpikes (Lnet/minecraft/class_5281;)Ljava/util/List;
|
||||
ARG 0 world
|
||||
METHOD method_15888 generateSpike (Lnet/minecraft/class_5425;Ljava/util/Random;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 spike
|
||||
CLASS class_3181 Spike
|
||||
FIELD field_13831 height I
|
||||
FIELD field_13832 guarded Z
|
||||
|
@ -17,6 +20,7 @@ CLASS net/minecraft/class_3310 net/minecraft/world/gen/feature/EndSpikeFeature
|
|||
ARG 2 centerZ
|
||||
ARG 3 radius
|
||||
ARG 4 height
|
||||
ARG 5 guarded
|
||||
METHOD method_13962 isInChunk (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_13963 getRadius ()I
|
||||
|
|
|
@ -3,6 +3,10 @@ CLASS net/minecraft/class_3666 net/minecraft/world/gen/feature/EndSpikeFeatureCo
|
|||
FIELD field_16207 crystalInvulnerable Z
|
||||
FIELD field_16208 spikes Ljava/util/List;
|
||||
FIELD field_24911 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (ZLjava/util/List;Ljava/util/Optional;)V
|
||||
ARG 1 crystalInvulnerable
|
||||
ARG 2 spikes
|
||||
ARG 3 crystalBeamTarget
|
||||
METHOD <init> (ZLjava/util/List;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 crystalInvulnerable
|
||||
ARG 2 spikes
|
||||
|
|
|
@ -19,6 +19,9 @@ CLASS net/minecraft/class_4781 net/minecraft/world/gen/feature/HugeFungusFeature
|
|||
ARG 3 pos
|
||||
ARG 4 state
|
||||
METHOD method_24442 generateVines (Lnet/minecraft/class_2338;Lnet/minecraft/class_1936;Ljava/util/Random;)V
|
||||
ARG 0 pos
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
METHOD method_24443 generateHat (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_4780;Lnet/minecraft/class_2338;IZ)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
|
|
|
@ -9,6 +9,7 @@ CLASS net/minecraft/class_4625 net/minecraft/world/gen/feature/HugeMushroomFeatu
|
|||
ARG 5 config
|
||||
METHOD method_23375 generateCap (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 start
|
||||
ARG 4 y
|
||||
ARG 5 mutable
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
CLASS net/minecraft/class_4635 net/minecraft/world/gen/feature/HugeMushroomFeatureConfig
|
||||
FIELD field_21230 capProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21231 stemProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21232 capSize I
|
||||
FIELD field_21232 foliageRadius I
|
||||
FIELD field_24885 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;I)V
|
||||
ARG 1 capProvider
|
||||
ARG 2 stemProvider
|
||||
ARG 3 capSize
|
||||
ARG 3 foliageRadius
|
||||
|
|
|
@ -4,6 +4,8 @@ CLASS net/minecraft/class_3098 net/minecraft/world/gen/feature/MineshaftFeature
|
|||
FIELD field_13689 name Ljava/lang/String;
|
||||
FIELD field_13690 BY_NAME Ljava/util/Map;
|
||||
FIELD field_24839 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
|
||||
ARG 3 name
|
||||
METHOD method_13532 byName (Ljava/lang/String;)Lnet/minecraft/class_3098$class_3100;
|
||||
ARG 0 name
|
||||
METHOD method_13534 getName ()Ljava/lang/String;
|
||||
|
|
|
@ -2,3 +2,6 @@ CLASS net/minecraft/class_3101 net/minecraft/world/gen/feature/MineshaftFeatureC
|
|||
FIELD field_13693 probability F
|
||||
FIELD field_13694 type Lnet/minecraft/class_3098$class_3100;
|
||||
FIELD field_24888 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (FLnet/minecraft/class_3098$class_3100;)V
|
||||
ARG 1 probability
|
||||
ARG 2 type
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
CLASS net/minecraft/class_4782 net/minecraft/world/gen/feature/NetherForestVegetationFeature
|
||||
METHOD method_26264 generate (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4634;II)Z
|
||||
ARG 0 world
|
||||
ARG 1 random
|
||||
ARG 2 pos
|
||||
ARG 3 config
|
||||
|
|
|
@ -1 +1,10 @@
|
|||
CLASS net/minecraft/class_5437 net/minecraft/world/gen/feature/NetherrackReplaceBlobsFeatureConfig
|
||||
FIELD field_25848 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25849 target Lnet/minecraft/class_2680;
|
||||
FIELD field_25850 state Lnet/minecraft/class_2680;
|
||||
FIELD field_25851 radius Lnet/minecraft/class_5428;
|
||||
METHOD <init> (Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_5428;)V
|
||||
ARG 1 target
|
||||
ARG 2 state
|
||||
ARG 3 radius
|
||||
METHOD method_30405 getRadius ()Lnet/minecraft/class_5428;
|
||||
|
|
|
@ -4,6 +4,8 @@ CLASS net/minecraft/class_3411 net/minecraft/world/gen/feature/OceanRuinFeature
|
|||
FIELD field_14529 name Ljava/lang/String;
|
||||
FIELD field_14530 BY_NAME Ljava/util/Map;
|
||||
FIELD field_24990 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
|
||||
ARG 3 name
|
||||
METHOD method_14830 byName (Ljava/lang/String;)Lnet/minecraft/class_3411$class_3413;
|
||||
ARG 0 name
|
||||
METHOD method_14831 getName ()Ljava/lang/String;
|
||||
|
|
|
@ -2,3 +2,6 @@ CLASS net/minecraft/class_3137 net/minecraft/world/gen/feature/RandomBooleanFeat
|
|||
FIELD field_13739 featureFalse Ljava/util/function/Supplier;
|
||||
FIELD field_13740 featureTrue Ljava/util/function/Supplier;
|
||||
FIELD field_24900 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V
|
||||
ARG 1 featureTrue
|
||||
ARG 2 featureFalse
|
||||
|
|
|
@ -2,7 +2,14 @@ CLASS net/minecraft/class_3226 net/minecraft/world/gen/feature/RandomFeatureEntr
|
|||
FIELD field_14011 chance F
|
||||
FIELD field_14013 feature Ljava/util/function/Supplier;
|
||||
FIELD field_24864 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/util/function/Supplier;F)V
|
||||
ARG 1 feature
|
||||
ARG 2 chance
|
||||
METHOD <init> (Lnet/minecraft/class_2975;F)V
|
||||
ARG 1 feature
|
||||
ARG 2 chance
|
||||
METHOD method_14271 generate (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 chunkGenerator
|
||||
ARG 3 random
|
||||
ARG 4 pos
|
||||
|
|
|
@ -11,6 +11,18 @@ CLASS net/minecraft/class_4638 net/minecraft/world/gen/feature/RandomPatchFeatur
|
|||
FIELD field_21246 project Z
|
||||
FIELD field_21247 needsWater Z
|
||||
FIELD field_24902 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4629;Ljava/util/List;Ljava/util/List;IIIIZZZ)V
|
||||
ARG 1 stateProvider
|
||||
ARG 2 blockPlacer
|
||||
ARG 3 whitelist
|
||||
ARG 4 blacklist
|
||||
ARG 5 tries
|
||||
ARG 6 spreadX
|
||||
ARG 7 spreadY
|
||||
ARG 8 spreadZ
|
||||
ARG 9 canReplace
|
||||
ARG 10 project
|
||||
ARG 11 needsWater
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4629;Ljava/util/Set;Ljava/util/Set;IIIIZZZ)V
|
||||
ARG 1 stateProvider
|
||||
ARG 2 blockPlacer
|
||||
|
|
|
@ -2,4 +2,4 @@ CLASS net/minecraft/class_5187 net/minecraft/world/gen/feature/RuinedPortalFeatu
|
|||
FIELD field_24014 portalType Lnet/minecraft/class_5183$class_5185;
|
||||
FIELD field_24906 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_5183$class_5185;)V
|
||||
ARG 1 type
|
||||
ARG 1 portalType
|
||||
|
|
|
@ -4,3 +4,8 @@ CLASS net/minecraft/class_3175 net/minecraft/world/gen/feature/SimpleBlockFeatur
|
|||
FIELD field_13807 toPlace Lnet/minecraft/class_2680;
|
||||
FIELD field_13808 placeOn Ljava/util/List;
|
||||
FIELD field_24909 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Lnet/minecraft/class_2680;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
|
||||
ARG 1 toPlace
|
||||
ARG 2 placeOn
|
||||
ARG 3 placeIn
|
||||
ARG 4 placeUnder
|
||||
|
|
|
@ -32,10 +32,15 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
COMMENT Checks if this structure can <em>actually</em> be placed at a potential structure position determined via
|
||||
COMMENT {@link #getStartChunk}. Specific structures override this method to reduce the spawn probability or
|
||||
COMMENT restrict the spawn in some other way.
|
||||
ARG 1 chunkGenerator
|
||||
ARG 2 biomeSource
|
||||
ARG 3 worldSeed
|
||||
ARG 5 random
|
||||
ARG 6 chunkX
|
||||
ARG 7 chunkZ
|
||||
ARG 8 biome
|
||||
ARG 9 chunkPos
|
||||
ARG 10 config
|
||||
METHOD method_16140 getCreatureSpawns ()Ljava/util/List;
|
||||
METHOD method_27218 getStartChunk (Lnet/minecraft/class_5314;JLnet/minecraft/class_2919;II)Lnet/minecraft/class_1923;
|
||||
COMMENT Determines the cell of the structure placement grid a chunk belongs to, and
|
||||
|
|
|
@ -5,6 +5,7 @@ CLASS net/minecraft/class_3812 net/minecraft/world/gen/feature/StructurePoolFeat
|
|||
FIELD field_16861 startPool Ljava/util/function/Supplier;
|
||||
FIELD field_24886 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/util/function/Supplier;I)V
|
||||
ARG 1 startPool
|
||||
ARG 2 size
|
||||
METHOD method_27222 getSize ()I
|
||||
METHOD method_27223 getStartPool ()Ljava/util/function/Supplier;
|
||||
|
|
|
@ -49,4 +49,5 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/TreeFeature
|
|||
METHOD method_23384 (Lnet/minecraft/class_2680;)Z
|
||||
ARG 0 state
|
||||
METHOD method_27371 canReplace (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
|
|
|
@ -4,4 +4,5 @@ CLASS net/minecraft/class_5202 net/minecraft/world/gen/feature/size/FeatureSizeT
|
|||
ARG 1 codec
|
||||
METHOD method_27382 register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_5202;
|
||||
ARG 0 id
|
||||
ARG 1 codec
|
||||
METHOD method_28825 getCodec ()Lcom/mojang/serialization/Codec;
|
||||
|
|
Loading…
Reference in New Issue