mirror of https://github.com/FabricMC/yarn.git
Worldgen Ergonomics (#1550)
This commit is contained in:
parent
bdbb68371c
commit
db98c187d6
|
@ -1,2 +1,20 @@
|
|||
CLASS net/minecraft/class_3542 net/minecraft/util/StringIdentifiable
|
||||
METHOD method_15434 asString ()Ljava/lang/String;
|
||||
METHOD method_28140 createCodec (Ljava/util/function/Supplier;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
|
||||
COMMENT Creates a codec that serializes an enum implementing this interface either
|
||||
COMMENT using its ordinals (when compressed) or using it's {@link #asString()} method
|
||||
COMMENT and a given decode function.
|
||||
ARG 0 enumValues
|
||||
ARG 1 fromString
|
||||
METHOD method_28141 createCodec (Ljava/util/function/ToIntFunction;Ljava/util/function/IntFunction;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
|
||||
COMMENT Creates a codec that serializes a class implementing this interface using either
|
||||
COMMENT the given toInt and fromInt mapping functions (when compressed output is
|
||||
COMMENT requested), or its {@link #asString()} method and a given fromString function.
|
||||
ARG 0 compressedEncoder
|
||||
ARG 1 compressedDecoder
|
||||
ARG 2 decoder
|
||||
METHOD method_28143 ([Ljava/lang/Enum;I)Ljava/lang/Enum;
|
||||
ARG 1 ordinal
|
||||
CLASS 1
|
||||
METHOD encode (Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
|
||||
ARG 1 value
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_4658 net/minecraft/world/gen/decorator/AlterGroundTreeDecorator
|
||||
FIELD field_24957 CODEC Lcom/mojang/serialization/Codec;
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
CLASS net/minecraft/class_4659 net/minecraft/world/gen/decorator/BeehiveTreeDecorator
|
||||
FIELD field_21317 chance F
|
||||
FIELD field_24958 CODEC Lcom/mojang/serialization/Codec;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_4660 net/minecraft/world/gen/decorator/CocoaBeansTreeDecorator
|
||||
FIELD field_24959 CODEC Lcom/mojang/serialization/Codec;
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CLASS net/minecraft/class_4661 net/minecraft/world/gen/decorator/LeaveVineTreeDecorator
|
||||
FIELD field_24960 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24961 INSTANCE Lnet/minecraft/class_4661;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_4662 net/minecraft/world/gen/decorator/TreeDecorator
|
||||
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_5281;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;)V
|
||||
ARG 2 random
|
||||
ARG 3 logPositions
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
CLASS net/minecraft/class_4663 net/minecraft/world/gen/decorator/TreeDecoratorType
|
||||
FIELD field_24963 codec Lcom/mojang/serialization/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 type
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CLASS net/minecraft/class_4664 net/minecraft/world/gen/decorator/TrunkVineTreeDecorator
|
||||
FIELD field_24964 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24965 INSTANCE Lnet/minecraft/class_4664;
|
||||
|
|
|
@ -2,6 +2,7 @@ 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_24832 NO_OP Lnet/minecraft/class_2975;
|
||||
FIELD field_24833 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD method_12862 generate (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
|
||||
METHOD method_23387 withChance (F)Lnet/minecraft/class_3226;
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
CLASS net/minecraft/class_5312 net/minecraft/world/gen/feature/ConfiguredStructureFeature
|
||||
FIELD field_24834 TYPE_CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24835 feature Lnet/minecraft/class_3195;
|
||||
FIELD field_24836 config Lnet/minecraft/class_3037;
|
||||
|
|
|
@ -11,6 +11,7 @@ CLASS net/minecraft/class_3124 net/minecraft/world/gen/feature/OreFeatureConfig
|
|||
FIELD field_13726 name Ljava/lang/String;
|
||||
FIELD field_13728 nameMap Ljava/util/Map;
|
||||
FIELD field_13731 predicate Ljava/util/function/Predicate;
|
||||
FIELD field_24898 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Ljava/util/function/Predicate;)V
|
||||
ARG 3 name
|
||||
METHOD method_13635 getName ()Ljava/lang/String;
|
||||
|
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
FIELD field_24842 STRUCTURES Lcom/google/common/collect/BiMap;
|
||||
FIELD field_24851 SWAMP_HUT Lnet/minecraft/class_3197;
|
||||
FIELD field_24862 STRUCTURE_TO_GENERATION_STEP Ljava/util/Map;
|
||||
FIELD field_24863 codec Lcom/mojang/serialization/Codec;
|
||||
METHOD method_13149 getMonsterSpawns ()Ljava/util/List;
|
||||
METHOD method_14015 locateStructure (Lnet/minecraft/class_4538;Lnet/minecraft/class_5138;Lnet/minecraft/class_2338;IZJLnet/minecraft/class_5314;)Lnet/minecraft/class_2338;
|
||||
ARG 5 skipExistingChunks
|
||||
|
@ -16,6 +17,7 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
ARG 0 name
|
||||
ARG 1 structureFeature
|
||||
ARG 2 step
|
||||
METHOD method_28665 getCodec ()Lcom/mojang/serialization/Codec;
|
||||
CLASS class_3774 StructureStartFactory
|
||||
METHOD create (Lnet/minecraft/class_3195;IILnet/minecraft/class_3341;IJ)Lnet/minecraft/class_3449;
|
||||
ARG 1 feature
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CLASS net/minecraft/class_4633 net/minecraft/world/gen/placer/SimpleBlockPlacer
|
||||
FIELD field_24870 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_24871 INSTANCE Lnet/minecraft/class_4633;
|
||||
|
|
Loading…
Reference in New Issue