Package net.minecraft.world.gen
Class WorldPreset
java.lang.Object
net.minecraft.world.gen.WorldPreset
- Mappings:
Namespace Name official dkr
intermediary net/minecraft/class_7145
named net/minecraft/world/gen/WorldPreset
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WorldPreset>
private final Map<RegistryKey<DimensionOptions>,
DimensionOptions> static final com.mojang.serialization.Codec<RegistryEntry<WorldPreset>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Registry<DimensionOptions>
createGeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest) createGeneratorOptions
(GeneratorOptions generatorOptions) private static com.mojang.serialization.DataResult<WorldPreset>
validate
(WorldPreset preset)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldkr;a:Lcom/mojang/serialization/Codec;
intermediary field_37725
Lnet/minecraft/class_7145;field_37725:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/WorldPreset;CODEC:Lcom/mojang/serialization/Codec;
-
ENTRY_CODEC
- Mappings:
Namespace Name Mixin selector official b
Ldkr;b:Lcom/mojang/serialization/Codec;
intermediary field_37726
Lnet/minecraft/class_7145;field_37726:Lcom/mojang/serialization/Codec;
named ENTRY_CODEC
Lnet/minecraft/world/gen/WorldPreset;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
-
dimensions
- Mappings:
Namespace Name Mixin selector official c
Ldkr;c:Ljava/util/Map;
intermediary field_37727
Lnet/minecraft/class_7145;field_37727:Ljava/util/Map;
named dimensions
Lnet/minecraft/world/gen/WorldPreset;dimensions:Ljava/util/Map;
-
-
Constructor Details
-
WorldPreset
- Mappings:
Namespace Name Mixin selector official <init>
Ldkr;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_7145;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/world/gen/WorldPreset;<init>(Ljava/util/Map;)V
-
-
Method Details
-
createDimensionOptionsRegistry
- Mappings:
Namespace Name Mixin selector official c
Ldkr;c()Lhm;
intermediary method_41591
Lnet/minecraft/class_7145;method_41591()Lnet/minecraft/class_2378;
named createDimensionOptionsRegistry
Lnet/minecraft/world/gen/WorldPreset;createDimensionOptionsRegistry()Lnet/minecraft/util/registry/Registry;
-
createGeneratorOptions
public GeneratorOptions createGeneratorOptions(long seed, boolean generateStructures, boolean bonusChest) - Mappings:
Namespace Name Mixin selector official a
Ldkr;a(JZZ)Ldbm;
intermediary method_41585
Lnet/minecraft/class_7145;method_41585(JZZ)Lnet/minecraft/class_5285;
named createGeneratorOptions
Lnet/minecraft/world/gen/WorldPreset;createGeneratorOptions(JZZ)Lnet/minecraft/world/gen/GeneratorOptions;
-
createGeneratorOptions
- Mappings:
Namespace Name Mixin selector official a
Ldkr;a(Ldbm;)Ldbm;
intermediary method_41587
Lnet/minecraft/class_7145;method_41587(Lnet/minecraft/class_5285;)Lnet/minecraft/class_5285;
named createGeneratorOptions
Lnet/minecraft/world/gen/WorldPreset;createGeneratorOptions(Lnet/minecraft/world/gen/GeneratorOptions;)Lnet/minecraft/world/gen/GeneratorOptions;
-
getOverworld
- Mappings:
Namespace Name Mixin selector official a
Ldkr;a()Ljava/util/Optional;
intermediary method_41584
Lnet/minecraft/class_7145;method_41584()Ljava/util/Optional;
named getOverworld
Lnet/minecraft/world/gen/WorldPreset;getOverworld()Ljava/util/Optional;
-
getOverworldOrElseThrow
- Mappings:
Namespace Name Mixin selector official b
Ldkr;b()Lcyv;
intermediary method_41590
Lnet/minecraft/class_7145;method_41590()Lnet/minecraft/class_5363;
named getOverworldOrElseThrow
Lnet/minecraft/world/gen/WorldPreset;getOverworldOrElseThrow()Lnet/minecraft/world/dimension/DimensionOptions;
-
validate
- Mappings:
Namespace Name Mixin selector official a
Ldkr;a(Ldkr;)Lcom/mojang/serialization/DataResult;
intermediary method_44351
Lnet/minecraft/class_7145;method_44351(Lnet/minecraft/class_7145;)Lcom/mojang/serialization/DataResult;
named validate
Lnet/minecraft/world/gen/WorldPreset;validate(Lnet/minecraft/world/gen/WorldPreset;)Lcom/mojang/serialization/DataResult;
-