Class WorldPresets

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

public class WorldPresets extends Object
Mappings:
Namespace Name
official dju
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 Ldju;a:Laai;
      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 Ldju;b:Laai;
      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 Ldju;c:Laai;
      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 Ldju;d:Laai;
      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 Ldju;e:Laai;
      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 Ldju;f:Laai;
      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 Ldju;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 Ldju;a(Ljava/lang/String;)Laai;
      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 Ldju;a(Ldao;)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 Ldju;a(Lhn;JZZ)Ldao;
      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 Ldju;a(Lhn;J)Ldao;
      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 Ldju;a(Lhn;)Ldao;
      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 Ldju;b(Lhn;)Ldao;
      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 Ldju;c(Lhn;)Lcxx;
      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;