Class WorldPresets

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

public class WorldPresets extends Object
Mappings:
Namespace Name
official dri
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 Ldri;a:Lacp;
      intermediary field_25050 Lnet/minecraft/class_5317;field_25050:Lnet/minecraft/class_5321;
      named DEFAULT Lnet/minecraft/world/gen/WorldPresets;DEFAULT:Lnet/minecraft/registry/RegistryKey;
    • FLAT

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

      public static final RegistryKey<WorldPreset> LARGE_BIOMES
      Mappings:
      Namespace Name Mixin selector
      official c Ldri;c:Lacp;
      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/registry/RegistryKey;
    • AMPLIFIED

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

      public static final RegistryKey<WorldPreset> SINGLE_BIOME_SURFACE
      Mappings:
      Namespace Name Mixin selector
      official e Ldri;e:Lacp;
      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/registry/RegistryKey;
    • DEBUG_ALL_BLOCK_STATES

      public static final RegistryKey<WorldPreset> DEBUG_ALL_BLOCK_STATES
      Mappings:
      Namespace Name Mixin selector
      official f Ldri;f:Lacp;
      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/registry/RegistryKey;
  • Constructor Details

    • WorldPresets

      public WorldPresets()
  • Method Details

    • bootstrap

      public static void bootstrap(Registerable<WorldPreset> presetRegisterable)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(Lnm;)V
      intermediary method_41593 Lnet/minecraft/class_5317;method_41593(Lnet/minecraft/class_7891;)V
      named bootstrap Lnet/minecraft/world/gen/WorldPresets;bootstrap(Lnet/minecraft/registry/Registerable;)V
    • of

      private static RegistryKey<WorldPreset> of(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(Ljava/lang/String;)Lacp;
      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/registry/RegistryKey;
    • getWorldPreset

      public static Optional<RegistryKey<WorldPreset>> getWorldPreset(Registry<DimensionOptions> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(Lhr;)Ljava/util/Optional;
      intermediary method_41594 Lnet/minecraft/class_5317;method_41594(Lnet/minecraft/class_2378;)Ljava/util/Optional;
      named getWorldPreset Lnet/minecraft/world/gen/WorldPresets;getWorldPreset(Lnet/minecraft/registry/Registry;)Ljava/util/Optional;
    • createDemoOptions

      public static DimensionOptionsRegistryHolder createDemoOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Ldri;a(Lhs;)Ldhx;
      intermediary method_41598 Lnet/minecraft/class_5317;method_41598(Lnet/minecraft/class_5455;)Lnet/minecraft/class_7723;
      named createDemoOptions Lnet/minecraft/world/gen/WorldPresets;createDemoOptions(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;
    • getDefaultOverworldOptions

      public static DimensionOptions getDefaultOverworldOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official b Ldri;b(Lhs;)Ldfd;
      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/registry/DynamicRegistryManager;)Lnet/minecraft/world/dimension/DimensionOptions;