Class WorldPreset

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

public class WorldPreset extends Object
Mappings:
Namespace Name
named net/minecraft/world/gen/WorldPreset
intermediary net/minecraft/class_7145
official eny
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<WorldPreset> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/WorldPreset;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_37725 Lnet/minecraft/class_7145;field_37725:Lcom/mojang/serialization/Codec;
      official a Leny;a:Lcom/mojang/serialization/Codec;
    • ENTRY_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<WorldPreset>> ENTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      named ENTRY_CODEC Lnet/minecraft/world/gen/WorldPreset;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_37726 Lnet/minecraft/class_7145;field_37726:Lcom/mojang/serialization/Codec;
      official b Leny;b:Lcom/mojang/serialization/Codec;
    • dimensions

      private final Map<RegistryKey<DimensionOptions>,DimensionOptions> dimensions
      Mappings:
      Namespace Name Mixin selector
      named dimensions Lnet/minecraft/world/gen/WorldPreset;dimensions:Ljava/util/Map;
      intermediary field_37727 Lnet/minecraft/class_7145;field_37727:Ljava/util/Map;
      official c Leny;c:Ljava/util/Map;
  • Constructor Details

    • WorldPreset

      public WorldPreset(Map<RegistryKey<DimensionOptions>,DimensionOptions> dimensions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/WorldPreset;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7145;<init>(Ljava/util/Map;)V
      official <init> Leny;<init>(Ljava/util/Map;)V
  • Method Details

    • collectDimensions

      Mappings:
      Namespace Name Mixin selector
      named collectDimensions Lnet/minecraft/world/gen/WorldPreset;collectDimensions()Lcom/google/common/collect/ImmutableMap;
      intermediary method_57016 Lnet/minecraft/class_7145;method_57016()Lcom/google/common/collect/ImmutableMap;
      official c Leny;c()Lcom/google/common/collect/ImmutableMap;
    • createDimensionsRegistryHolder

      public DimensionOptionsRegistryHolder createDimensionsRegistryHolder()
      Mappings:
      Namespace Name Mixin selector
      named createDimensionsRegistryHolder Lnet/minecraft/world/gen/WorldPreset;createDimensionsRegistryHolder()Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;
      intermediary method_45546 Lnet/minecraft/class_7145;method_45546()Lnet/minecraft/class_7723;
      official a Leny;a()Leek;
    • getOverworld

      public Optional<DimensionOptions> getOverworld()
      Mappings:
      Namespace Name Mixin selector
      named getOverworld Lnet/minecraft/world/gen/WorldPreset;getOverworld()Ljava/util/Optional;
      intermediary method_41584 Lnet/minecraft/class_7145;method_41584()Ljava/util/Optional;
      official b Leny;b()Ljava/util/Optional;
    • validate

      private static com.mojang.serialization.DataResult<WorldPreset> validate(WorldPreset preset)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/world/gen/WorldPreset;validate(Lnet/minecraft/world/gen/WorldPreset;)Lcom/mojang/serialization/DataResult;
      intermediary method_44351 Lnet/minecraft/class_7145;method_44351(Lnet/minecraft/class_7145;)Lcom/mojang/serialization/DataResult;
      official a Leny;a(Leny;)Lcom/mojang/serialization/DataResult;