Class GenerationShapeConfig

java.lang.Object
net.minecraft.world.gen.chunk.GenerationShapeConfig

public class GenerationShapeConfig
extends Object
Mappings:
Namespace Name
official cmr
intermediary net/minecraft/class_5309
named net/minecraft/world/gen/chunk/GenerationShapeConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<GenerationShapeConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcmr;a:Lcom/mojang/serialization/Codec;
      intermediary field_24804 Lnet/minecraft/class_5309;field_24804:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;CODEC:Lcom/mojang/serialization/Codec;
    • minimumY

      private final int minimumY
      Mappings:
      Namespace Name Mixin selector
      official b Lcmr;b:I
      intermediary field_28202 Lnet/minecraft/class_5309;field_28202:I
      named minimumY Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;minimumY:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official c Lcmr;c:I
      intermediary field_24805 Lnet/minecraft/class_5309;field_24805:I
      named height Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;height:I
    • sampling

      private final NoiseSamplingConfig sampling
      Mappings:
      Namespace Name Mixin selector
      official d Lcmr;d:Lcmq;
      intermediary field_24806 Lnet/minecraft/class_5309;field_24806:Lnet/minecraft/class_5308;
      named sampling Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;sampling:Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;
    • topSlide

      private final SlideConfig topSlide
      Mappings:
      Namespace Name Mixin selector
      official e Lcmr;e:Lcms;
      intermediary field_24807 Lnet/minecraft/class_5309;field_24807:Lnet/minecraft/class_5310;
      named topSlide Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;topSlide:Lnet/minecraft/world/gen/chunk/SlideConfig;
    • bottomSlide

      private final SlideConfig bottomSlide
      Mappings:
      Namespace Name Mixin selector
      official f Lcmr;f:Lcms;
      intermediary field_24808 Lnet/minecraft/class_5309;field_24808:Lnet/minecraft/class_5310;
      named bottomSlide Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;bottomSlide:Lnet/minecraft/world/gen/chunk/SlideConfig;
    • horizontalSize

      private final int horizontalSize
      Mappings:
      Namespace Name Mixin selector
      official g Lcmr;g:I
      intermediary field_24809 Lnet/minecraft/class_5309;field_24809:I
      named horizontalSize Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;horizontalSize:I
    • verticalSize

      private final int verticalSize
      Mappings:
      Namespace Name Mixin selector
      official h Lcmr;h:I
      intermediary field_24810 Lnet/minecraft/class_5309;field_24810:I
      named verticalSize Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;verticalSize:I
    • densityFactor

      private final double densityFactor
      Mappings:
      Namespace Name Mixin selector
      official i Lcmr;i:D
      intermediary field_24811 Lnet/minecraft/class_5309;field_24811:D
      named densityFactor Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;densityFactor:D
    • densityOffset

      private final double densityOffset
      Mappings:
      Namespace Name Mixin selector
      official j Lcmr;j:D
      intermediary field_24812 Lnet/minecraft/class_5309;field_24812:D
      named densityOffset Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;densityOffset:D
    • simplexSurfaceNoise

      private final boolean simplexSurfaceNoise
      Mappings:
      Namespace Name Mixin selector
      official k Lcmr;k:Z
      intermediary field_24813 Lnet/minecraft/class_5309;field_24813:Z
      named simplexSurfaceNoise Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;simplexSurfaceNoise:Z
    • randomDensityOffset

      private final boolean randomDensityOffset
      Mappings:
      Namespace Name Mixin selector
      official l Lcmr;l:Z
      intermediary field_24814 Lnet/minecraft/class_5309;field_24814:Z
      named randomDensityOffset Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;randomDensityOffset:Z
    • islandNoiseOverride

      private final boolean islandNoiseOverride
      Mappings:
      Namespace Name Mixin selector
      official m Lcmr;m:Z
      intermediary field_24815 Lnet/minecraft/class_5309;field_24815:Z
      named islandNoiseOverride Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;islandNoiseOverride:Z
    • amplified

      private final boolean amplified
      Mappings:
      Namespace Name Mixin selector
      official n Lcmr;n:Z
      intermediary field_24816 Lnet/minecraft/class_5309;field_24816:Z
      named amplified Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;amplified:Z
  • Constructor Details

    • GenerationShapeConfig

      private GenerationShapeConfig​(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, double densityFactor, double densityOffset, boolean simplexSurfaceNoise, boolean randomDensityOffset, boolean islandNoiseOverride, boolean amplified)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmr;<init>(IILcmq;Lcms;Lcms;IIDDZZZZ)V
      intermediary <init> Lnet/minecraft/class_5309;<init>(IILnet/minecraft/class_5308;Lnet/minecraft/class_5310;Lnet/minecraft/class_5310;IIDDZZZZ)V
      named <init> Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;<init>(IILnet/minecraft/world/gen/chunk/NoiseSamplingConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;IIDDZZZZ)V
  • Method Details

    • checkHeight

      private static com.mojang.serialization.DataResult<GenerationShapeConfig> checkHeight​(GenerationShapeConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmr;a(Lcmr;)Lcom/mojang/serialization/DataResult;
      intermediary method_32995 Lnet/minecraft/class_5309;method_32995(Lnet/minecraft/class_5309;)Lcom/mojang/serialization/DataResult;
      named checkHeight Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;checkHeight(Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;)Lcom/mojang/serialization/DataResult;
    • create

      public static GenerationShapeConfig create​(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, double densityFactor, double densityOffset, boolean simplexSurfaceNoise, boolean randomDensityOffset, boolean islandNoiseOverride, boolean amplified)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmr;a(IILcmq;Lcms;Lcms;IIDDZZZZ)Lcmr;
      intermediary method_32994 Lnet/minecraft/class_5309;method_32994(IILnet/minecraft/class_5308;Lnet/minecraft/class_5310;Lnet/minecraft/class_5310;IIDDZZZZ)Lnet/minecraft/class_5309;
      named create Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;create(IILnet/minecraft/world/gen/chunk/NoiseSamplingConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;IIDDZZZZ)Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
    • getMinimumY

      public int getMinimumY()
      Mappings:
      Namespace Name Mixin selector
      official a Lcmr;a()I
      intermediary method_32993 Lnet/minecraft/class_5309;method_32993()I
      named getMinimumY Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getMinimumY()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official b Lcmr;b()I
      intermediary method_28581 Lnet/minecraft/class_5309;method_28581()I
      named getHeight Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getHeight()I
    • getSampling

      public NoiseSamplingConfig getSampling()
      Mappings:
      Namespace Name Mixin selector
      official c Lcmr;c()Lcmq;
      intermediary method_28583 Lnet/minecraft/class_5309;method_28583()Lnet/minecraft/class_5308;
      named getSampling Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getSampling()Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;
    • getTopSlide

      public SlideConfig getTopSlide()
      Mappings:
      Namespace Name Mixin selector
      official d Lcmr;d()Lcms;
      intermediary method_28584 Lnet/minecraft/class_5309;method_28584()Lnet/minecraft/class_5310;
      named getTopSlide Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getTopSlide()Lnet/minecraft/world/gen/chunk/SlideConfig;
    • getBottomSlide

      public SlideConfig getBottomSlide()
      Mappings:
      Namespace Name Mixin selector
      official e Lcmr;e()Lcms;
      intermediary method_28585 Lnet/minecraft/class_5309;method_28585()Lnet/minecraft/class_5310;
      named getBottomSlide Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getBottomSlide()Lnet/minecraft/world/gen/chunk/SlideConfig;
    • getSizeHorizontal

      public int getSizeHorizontal()
      Mappings:
      Namespace Name Mixin selector
      official f Lcmr;f()I
      intermediary method_28586 Lnet/minecraft/class_5309;method_28586()I
      named getSizeHorizontal Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getSizeHorizontal()I
    • getSizeVertical

      public int getSizeVertical()
      Mappings:
      Namespace Name Mixin selector
      official g Lcmr;g()I
      intermediary method_28587 Lnet/minecraft/class_5309;method_28587()I
      named getSizeVertical Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getSizeVertical()I
    • getDensityFactor

      public double getDensityFactor()
      Mappings:
      Namespace Name Mixin selector
      official h Lcmr;h()D
      intermediary method_28588 Lnet/minecraft/class_5309;method_28588()D
      named getDensityFactor Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getDensityFactor()D
    • getDensityOffset

      public double getDensityOffset()
      Mappings:
      Namespace Name Mixin selector
      official i Lcmr;i()D
      intermediary method_28589 Lnet/minecraft/class_5309;method_28589()D
      named getDensityOffset Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;getDensityOffset()D
    • hasSimplexSurfaceNoise

      @Deprecated public boolean hasSimplexSurfaceNoise()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official j Lcmr;j()Z
      intermediary method_28590 Lnet/minecraft/class_5309;method_28590()Z
      named hasSimplexSurfaceNoise Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;hasSimplexSurfaceNoise()Z
    • hasRandomDensityOffset

      @Deprecated public boolean hasRandomDensityOffset()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official k Lcmr;k()Z
      intermediary method_28591 Lnet/minecraft/class_5309;method_28591()Z
      named hasRandomDensityOffset Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;hasRandomDensityOffset()Z
    • hasIslandNoiseOverride

      @Deprecated public boolean hasIslandNoiseOverride()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official l Lcmr;l()Z
      intermediary method_28592 Lnet/minecraft/class_5309;method_28592()Z
      named hasIslandNoiseOverride Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;hasIslandNoiseOverride()Z
    • isAmplified

      @Deprecated public boolean isAmplified()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official m Lcmr;m()Z
      intermediary method_28593 Lnet/minecraft/class_5309;method_28593()Z
      named isAmplified Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;isAmplified()Z