Class WorldPresets

java.lang.Object
net.minecraft.world.gen.WorldPresets

public class WorldPresets extends Object
Mappings:
Namespace Name
official dks
intermediary net/minecraft/class_5317
named net/minecraft/world/gen/WorldPresets
  • Field Details

    • DEFAULT

      public static final RegistryKey<WorldPreset> DEFAULT
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a:Laba;
      intermediary field_25050 Lnet/minecraft/class_5317;field_25050:Lnet/minecraft/class_5321;
      named DEFAULT Lnet/minecraft/world/gen/WorldPresets;DEFAULT:Lnet/minecraft/util/registry/RegistryKey;
    • FLAT

      public static final RegistryKey<WorldPreset> FLAT
      Mappings:
      Namespace Name Mixin selector
      official b Ldks;b:Laba;
      intermediary field_25054 Lnet/minecraft/class_5317;field_25054:Lnet/minecraft/class_5321;
      named FLAT Lnet/minecraft/world/gen/WorldPresets;FLAT:Lnet/minecraft/util/registry/RegistryKey;
    • LARGE_BIOMES

      public static final RegistryKey<WorldPreset> LARGE_BIOMES
      Mappings:
      Namespace Name Mixin selector
      official c Ldks;c:Laba;
      intermediary field_35756 Lnet/minecraft/class_5317;field_35756:Lnet/minecraft/class_5321;
      named LARGE_BIOMES Lnet/minecraft/world/gen/WorldPresets;LARGE_BIOMES:Lnet/minecraft/util/registry/RegistryKey;
    • AMPLIFIED

      public static final RegistryKey<WorldPreset> AMPLIFIED
      Mappings:
      Namespace Name Mixin selector
      official d Ldks;d:Laba;
      intermediary field_35757 Lnet/minecraft/class_5317;field_35757:Lnet/minecraft/class_5321;
      named AMPLIFIED Lnet/minecraft/world/gen/WorldPresets;AMPLIFIED:Lnet/minecraft/util/registry/RegistryKey;
    • SINGLE_BIOME_SURFACE

      public static final RegistryKey<WorldPreset> SINGLE_BIOME_SURFACE
      Mappings:
      Namespace Name Mixin selector
      official e Ldks;e:Laba;
      intermediary field_25056 Lnet/minecraft/class_5317;field_25056:Lnet/minecraft/class_5321;
      named SINGLE_BIOME_SURFACE Lnet/minecraft/world/gen/WorldPresets;SINGLE_BIOME_SURFACE:Lnet/minecraft/util/registry/RegistryKey;
    • DEBUG_ALL_BLOCK_STATES

      public static final RegistryKey<WorldPreset> DEBUG_ALL_BLOCK_STATES
      Mappings:
      Namespace Name Mixin selector
      official f Ldks;f:Laba;
      intermediary field_25059 Lnet/minecraft/class_5317;field_25059:Lnet/minecraft/class_5321;
      named DEBUG_ALL_BLOCK_STATES Lnet/minecraft/world/gen/WorldPresets;DEBUG_ALL_BLOCK_STATES:Lnet/minecraft/util/registry/RegistryKey;
  • Constructor Details

    • WorldPresets

      public WorldPresets()
  • Method Details

    • initAndGetDefault

      public static RegistryEntry<WorldPreset> initAndGetDefault(Registry<WorldPreset> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Lhm;)Lhc;
      intermediary method_41593 Lnet/minecraft/class_5317;method_41593(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;
      named initAndGetDefault Lnet/minecraft/world/gen/WorldPresets;initAndGetDefault(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/util/registry/RegistryEntry;
    • of

      private static RegistryKey<WorldPreset> of(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Ljava/lang/String;)Laba;
      intermediary method_41597 Lnet/minecraft/class_5317;method_41597(Ljava/lang/String;)Lnet/minecraft/class_5321;
      named of Lnet/minecraft/world/gen/WorldPresets;of(Ljava/lang/String;)Lnet/minecraft/util/registry/RegistryKey;
    • getWorldPreset

      public static Optional<RegistryKey<WorldPreset>> getWorldPreset(GeneratorOptions generatorOptions)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Ldbm;)Ljava/util/Optional;
      intermediary method_41594 Lnet/minecraft/class_5317;method_41594(Lnet/minecraft/class_5285;)Ljava/util/Optional;
      named getWorldPreset Lnet/minecraft/world/gen/WorldPresets;getWorldPreset(Lnet/minecraft/world/gen/GeneratorOptions;)Ljava/util/Optional;
    • createDefaultOptions

      public static GeneratorOptions createDefaultOptions(DynamicRegistryManager dynamicRegistryManager, long seed, boolean generateStructures, boolean bonusChest)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Lhn;JZZ)Ldbm;
      intermediary method_29077 Lnet/minecraft/class_5317;method_29077(Lnet/minecraft/class_5455;JZZ)Lnet/minecraft/class_5285;
      named createDefaultOptions Lnet/minecraft/world/gen/WorldPresets;createDefaultOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;JZZ)Lnet/minecraft/world/gen/GeneratorOptions;
    • createDefaultOptions

      public static GeneratorOptions createDefaultOptions(DynamicRegistryManager dynamicRegistryManager, long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Lhn;J)Ldbm;
      intermediary method_41596 Lnet/minecraft/class_5317;method_41596(Lnet/minecraft/class_5455;J)Lnet/minecraft/class_5285;
      named createDefaultOptions Lnet/minecraft/world/gen/WorldPresets;createDefaultOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;J)Lnet/minecraft/world/gen/GeneratorOptions;
    • createDefaultOptions

      public static GeneratorOptions createDefaultOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Ldks;a(Lhn;)Ldbm;
      intermediary method_41595 Lnet/minecraft/class_5317;method_41595(Lnet/minecraft/class_5455;)Lnet/minecraft/class_5285;
      named createDefaultOptions Lnet/minecraft/world/gen/WorldPresets;createDefaultOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/world/gen/GeneratorOptions;
    • createDemoOptions

      public static GeneratorOptions createDemoOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official b Ldks;b(Lhn;)Ldbm;
      intermediary method_41598 Lnet/minecraft/class_5317;method_41598(Lnet/minecraft/class_5455;)Lnet/minecraft/class_5285;
      named createDemoOptions Lnet/minecraft/world/gen/WorldPresets;createDemoOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/world/gen/GeneratorOptions;
    • getDefaultOverworldOptions

      public static DimensionOptions getDefaultOverworldOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official c Ldks;c(Lhn;)Lcyv;
      intermediary method_41599 Lnet/minecraft/class_5317;method_41599(Lnet/minecraft/class_5455;)Lnet/minecraft/class_5363;
      named getDefaultOverworldOptions Lnet/minecraft/world/gen/WorldPresets;getDefaultOverworldOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/world/dimension/DimensionOptions;