2020-06-07 12:29:30 -04:00
|
|
|
CLASS net/minecraft/class_5311 net/minecraft/world/gen/chunk/StructuresConfig
|
2020-07-09 13:44:24 -04:00
|
|
|
COMMENT Contains the configuration for placement of each structure type during chunk generation.
|
2020-06-07 12:29:30 -04:00
|
|
|
FIELD field_24821 CODEC Lcom/mojang/serialization/Codec;
|
|
|
|
FIELD field_24822 DEFAULT_STRUCTURES Lcom/google/common/collect/ImmutableMap;
|
2020-07-09 13:44:24 -04:00
|
|
|
COMMENT Default placement settings for each known structure type.
|
|
|
|
COMMENT At startup, Minecraft validates that each registered structure has a default
|
|
|
|
COMMENT configuration in this map. If mods register structures after this class
|
|
|
|
COMMENT has been initialized, the check will already have been made and a
|
|
|
|
COMMENT bad default configuration will be used instead (see below).
|
2020-06-07 12:29:30 -04:00
|
|
|
FIELD field_24823 DEFAULT_STRONGHOLD Lnet/minecraft/class_5313;
|
2020-07-19 10:06:04 -04:00
|
|
|
COMMENT Default placement settings for the stronghold.
|
2020-06-07 12:29:30 -04:00
|
|
|
FIELD field_24824 structures Ljava/util/Map;
|
|
|
|
FIELD field_24825 stronghold Lnet/minecraft/class_5313;
|
2020-07-09 13:44:24 -04:00
|
|
|
COMMENT Placement settings for the stronghold for this particular combination of settings,
|
|
|
|
COMMENT may be null to disable placement of strongholds.
|
2020-06-07 12:29:30 -04:00
|
|
|
METHOD <init> (Ljava/util/Optional;Ljava/util/Map;)V
|
|
|
|
ARG 1 stronghold
|
|
|
|
ARG 2 structures
|
2020-07-09 13:44:24 -04:00
|
|
|
METHOD <init> (Z)V
|
|
|
|
COMMENT Creates a new structure placement configuration with default values.
|
|
|
|
ARG 1 withStronghold
|
2020-07-19 10:06:04 -04:00
|
|
|
COMMENT determines if the default stronghold configuration should be included
|
2020-06-07 12:29:30 -04:00
|
|
|
METHOD method_28598 getStructures ()Ljava/util/Map;
|
2020-07-09 13:44:24 -04:00
|
|
|
METHOD method_28599 (Lnet/minecraft/class_5311;)Ljava/util/Map;
|
|
|
|
ARG 0 config
|
|
|
|
METHOD method_28600 getForType (Lnet/minecraft/class_3195;)Lnet/minecraft/class_5314;
|
|
|
|
COMMENT Gets the placement configuration for a specific structure type, or
|
|
|
|
COMMENT a default placement if placement for the structure was not explicitly configured.
|
|
|
|
ARG 1 structureType
|
2020-06-07 12:29:30 -04:00
|
|
|
METHOD method_28602 getStronghold ()Lnet/minecraft/class_5313;
|
2020-07-09 13:44:24 -04:00
|
|
|
METHOD method_28603 (Lnet/minecraft/class_5311;)Ljava/util/Optional;
|
|
|
|
ARG 0 config
|