Class DimensionOptions

java.lang.Object
net.minecraft.world.dimension.DimensionOptions

public final class DimensionOptions
extends Object
Mappings:
Namespace Name
official cku
intermediary net/minecraft/class_5363
named net/minecraft/world/dimension/DimensionOptions
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<DimensionOptions> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcku;a:Lcom/mojang/serialization/Codec;
      intermediary field_25411 Lnet/minecraft/class_5363;field_25411:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/dimension/DimensionOptions;CODEC:Lcom/mojang/serialization/Codec;
    • OVERWORLD

      public static final RegistryKey<DimensionOptions> OVERWORLD
      Mappings:
      Namespace Name Mixin selector
      official b Lcku;b:Lwa;
      intermediary field_25412 Lnet/minecraft/class_5363;field_25412:Lnet/minecraft/class_5321;
      named OVERWORLD Lnet/minecraft/world/dimension/DimensionOptions;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
    • NETHER

      public static final RegistryKey<DimensionOptions> NETHER
      Mappings:
      Namespace Name Mixin selector
      official c Lcku;c:Lwa;
      intermediary field_25413 Lnet/minecraft/class_5363;field_25413:Lnet/minecraft/class_5321;
      named NETHER Lnet/minecraft/world/dimension/DimensionOptions;NETHER:Lnet/minecraft/util/registry/RegistryKey;
    • END

      public static final RegistryKey<DimensionOptions> END
      Mappings:
      Namespace Name Mixin selector
      official d Lcku;d:Lwa;
      intermediary field_25414 Lnet/minecraft/class_5363;field_25414:Lnet/minecraft/class_5321;
      named END Lnet/minecraft/world/dimension/DimensionOptions;END:Lnet/minecraft/util/registry/RegistryKey;
    • BASE_DIMENSIONS

      private static final Set<RegistryKey<DimensionOptions>> BASE_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      official e Lcku;e:Ljava/util/Set;
      intermediary field_25415 Lnet/minecraft/class_5363;field_25415:Ljava/util/Set;
      named BASE_DIMENSIONS Lnet/minecraft/world/dimension/DimensionOptions;BASE_DIMENSIONS:Ljava/util/Set;
    • dimensionTypeSupplier

      private final Supplier<DimensionType> dimensionTypeSupplier
      Mappings:
      Namespace Name Mixin selector
      official f Lcku;f:Ljava/util/function/Supplier;
      intermediary field_25416 Lnet/minecraft/class_5363;field_25416:Ljava/util/function/Supplier;
      named dimensionTypeSupplier Lnet/minecraft/world/dimension/DimensionOptions;dimensionTypeSupplier:Ljava/util/function/Supplier;
    • chunkGenerator

      private final ChunkGenerator chunkGenerator
      Mappings:
      Namespace Name Mixin selector
      official g Lcku;g:Lcjn;
      intermediary field_25417 Lnet/minecraft/class_5363;field_25417:Lnet/minecraft/class_2794;
      named chunkGenerator Lnet/minecraft/world/dimension/DimensionOptions;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
  • Constructor Details

    • DimensionOptions

      public DimensionOptions​(Supplier<DimensionType> typeSupplier, ChunkGenerator chunkGenerator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcku;<init>(Ljava/util/function/Supplier;Lcjn;)V
      intermediary <init> Lnet/minecraft/class_5363;<init>(Ljava/util/function/Supplier;Lnet/minecraft/class_2794;)V
      named <init> Lnet/minecraft/world/dimension/DimensionOptions;<init>(Ljava/util/function/Supplier;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)V
  • Method Details

    • getDimensionTypeSupplier

      public Supplier<DimensionType> getDimensionTypeSupplier()
      Mappings:
      Namespace Name Mixin selector
      official a Lcku;a()Ljava/util/function/Supplier;
      intermediary method_29566 Lnet/minecraft/class_5363;method_29566()Ljava/util/function/Supplier;
      named getDimensionTypeSupplier Lnet/minecraft/world/dimension/DimensionOptions;getDimensionTypeSupplier()Ljava/util/function/Supplier;
    • getDimensionType

      public DimensionType getDimensionType()
      Mappings:
      Namespace Name Mixin selector
      official b Lcku;b()Lckt;
      intermediary method_29570 Lnet/minecraft/class_5363;method_29570()Lnet/minecraft/class_2874;
      named getDimensionType Lnet/minecraft/world/dimension/DimensionOptions;getDimensionType()Lnet/minecraft/world/dimension/DimensionType;
    • getChunkGenerator

      public ChunkGenerator getChunkGenerator()
      Mappings:
      Namespace Name Mixin selector
      official c Lcku;c()Lcjn;
      intermediary method_29571 Lnet/minecraft/class_5363;method_29571()Lnet/minecraft/class_2794;
      named getChunkGenerator Lnet/minecraft/world/dimension/DimensionOptions;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;
    • method_29569

      public static SimpleRegistry<DimensionOptions> method_29569​(SimpleRegistry<DimensionOptions> simpleRegistry)
      Mappings:
      Namespace Name Mixin selector
      official a Lcku;a(Lgi;)Lgi;
      intermediary method_29569 Lnet/minecraft/class_5363;method_29569(Lnet/minecraft/class_2370;)Lnet/minecraft/class_2370;
      named method_29569 Lnet/minecraft/world/dimension/DimensionOptions;method_29569(Lnet/minecraft/util/registry/SimpleRegistry;)Lnet/minecraft/util/registry/SimpleRegistry;
    • hasDefaultSettings

      public static boolean hasDefaultSettings​(long seed, SimpleRegistry<DimensionOptions> options)
      Mappings:
      Namespace Name Mixin selector
      official a Lcku;a(JLgi;)Z
      intermediary method_29567 Lnet/minecraft/class_5363;method_29567(JLnet/minecraft/class_2370;)Z
      named hasDefaultSettings Lnet/minecraft/world/dimension/DimensionOptions;hasDefaultSettings(JLnet/minecraft/util/registry/SimpleRegistry;)Z