Package net.minecraft.world.gen.chunk
Record Class GenerationShapeConfig
java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.GenerationShapeConfig
- Record Components:
minimumY-height-sampling-topSlide-bottomSlide-horizontalSize-verticalSize-terrainParameters-
public record GenerationShapeConfig(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters terrainParameters)
extends Record
- Mappings:
Namespace Name official cugintermediary net/minecraft/class_5309named net/minecraft/world/gen/chunk/GenerationShapeConfigofficial fintermediary comp_173named minimumYofficial gintermediary comp_174named heightofficial hintermediary comp_175named samplingofficial iintermediary comp_176named topSlideofficial jintermediary comp_177named bottomSlideofficial kintermediary comp_178named horizontalSizeofficial lintermediary comp_179named verticalSizeofficial mintermediary comp_247named terrainParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SlideConfigThe field for thebottomSliderecord component.static final com.mojang.serialization.Codec<GenerationShapeConfig>(package private) static final GenerationShapeConfig(package private) static final GenerationShapeConfig(package private) static final GenerationShapeConfig(package private) static final GenerationShapeConfigprivate final intThe field for theheightrecord component.private final intThe field for thehorizontalSizerecord component.private final intThe field for theminimumYrecord component.private final NoiseSamplingConfigThe field for thesamplingrecord component.private final VanillaTerrainParametersThe field for theterrainParametersrecord component.private final SlideConfigThe field for thetopSliderecord component.private final intThe field for theverticalSizerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionGenerationShapeConfig(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters vanillaTerrainParameters) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebottomSliderecord component.private static com.mojang.serialization.DataResult<GenerationShapeConfig>checkHeight(GenerationShapeConfig config) static GenerationShapeConfigcreate(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters vanillaTerrainParameters) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.intintReturns the value of thehorizontalSizerecord component.(package private) static GenerationShapeConfigmethod_41126(boolean bool) intintminimumY()Returns the value of theminimumYrecord component.sampling()Returns the value of thesamplingrecord component.Returns the value of theterrainParametersrecord component.topSlide()Returns the value of thetopSliderecord component.final StringtoString()Returns a string representation of this record class.intintintReturns the value of theverticalSizerecord component.
-
Field Details
-
minimumY
private final int minimumYThe field for theminimumYrecord component. -
height
private final int heightThe field for theheightrecord component. -
sampling
The field for thesamplingrecord component. -
topSlide
The field for thetopSliderecord component. -
bottomSlide
The field for thebottomSliderecord component. -
horizontalSize
private final int horizontalSizeThe field for thehorizontalSizerecord component. -
verticalSize
private final int verticalSizeThe field for theverticalSizerecord component. -
terrainParameters
The field for theterrainParametersrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector official aLcug;a:Lcom/mojang/serialization/Codec;intermediary field_24804Lnet/minecraft/class_5309;field_24804:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/GenerationShapeConfig;CODEC:Lcom/mojang/serialization/Codec;
-
field_37138
- Mappings:
Namespace Name Mixin selector official bLcug;b:Lcug;intermediary field_37138Lnet/minecraft/class_5309;field_37138:Lnet/minecraft/class_5309;named field_37138Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37138:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37139
- Mappings:
Namespace Name Mixin selector official cLcug;c:Lcug;intermediary field_37139Lnet/minecraft/class_5309;field_37139:Lnet/minecraft/class_5309;named field_37139Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37139:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37140
- Mappings:
Namespace Name Mixin selector official dLcug;d:Lcug;intermediary field_37140Lnet/minecraft/class_5309;field_37140:Lnet/minecraft/class_5309;named field_37140Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37140:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37141
- Mappings:
Namespace Name Mixin selector official eLcug;e:Lcug;intermediary field_37141Lnet/minecraft/class_5309;field_37141:Lnet/minecraft/class_5309;named field_37141Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37141:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
-
Constructor Details
-
GenerationShapeConfig
public GenerationShapeConfig(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters vanillaTerrainParameters) - Mappings:
Namespace Name Mixin selector official <init>Lcug;<init>(IILcuf;Lcuh;Lcuh;IILcce;)Vintermediary <init>Lnet/minecraft/class_5309;<init>(IILnet/minecraft/class_5308;Lnet/minecraft/class_5310;Lnet/minecraft/class_5310;IILnet/minecraft/class_6555;)Vnamed <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;IILnet/minecraft/world/biome/source/util/VanillaTerrainParameters;)V
-
-
Method Details
-
checkHeight
private static com.mojang.serialization.DataResult<GenerationShapeConfig> checkHeight(GenerationShapeConfig config) - Mappings:
Namespace Name Mixin selector official aLcug;a(Lcug;)Lcom/mojang/serialization/DataResult;intermediary method_32995Lnet/minecraft/class_5309;method_32995(Lnet/minecraft/class_5309;)Lcom/mojang/serialization/DataResult;named checkHeightLnet/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, VanillaTerrainParameters vanillaTerrainParameters) - Mappings:
Namespace Name Mixin selector official aLcug;a(IILcuf;Lcuh;Lcuh;IILcce;)Lcug;intermediary method_32994Lnet/minecraft/class_5309;method_32994(IILnet/minecraft/class_5308;Lnet/minecraft/class_5310;Lnet/minecraft/class_5310;IILnet/minecraft/class_6555;)Lnet/minecraft/class_5309;named createLnet/minecraft/world/gen/chunk/GenerationShapeConfig;create(IILnet/minecraft/world/gen/chunk/NoiseSamplingConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;Lnet/minecraft/world/gen/chunk/SlideConfig;IILnet/minecraft/world/biome/source/util/VanillaTerrainParameters;)Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
method_41126
- Mappings:
Namespace Name Mixin selector official aLcug;a(Z)Lcug;intermediary method_41126Lnet/minecraft/class_5309;method_41126(Z)Lnet/minecraft/class_5309;named method_41126Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;method_41126(Z)Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
verticalBlockSize
public int verticalBlockSize()- Mappings:
Namespace Name Mixin selector official aLcug;a()Iintermediary method_39545Lnet/minecraft/class_5309;method_39545()Inamed verticalBlockSizeLnet/minecraft/world/gen/chunk/GenerationShapeConfig;verticalBlockSize()I
-
horizontalBlockSize
public int horizontalBlockSize()- Mappings:
Namespace Name Mixin selector official bLcug;b()Iintermediary method_39546Lnet/minecraft/class_5309;method_39546()Inamed horizontalBlockSizeLnet/minecraft/world/gen/chunk/GenerationShapeConfig;horizontalBlockSize()I
-
verticalBlockCount
public int verticalBlockCount()- Mappings:
Namespace Name Mixin selector official cLcug;c()Iintermediary method_39547Lnet/minecraft/class_5309;method_39547()Inamed verticalBlockCountLnet/minecraft/world/gen/chunk/GenerationShapeConfig;verticalBlockCount()I
-
minimumBlockY
public int minimumBlockY()- Mappings:
Namespace Name Mixin selector official dLcug;d()Iintermediary method_39548Lnet/minecraft/class_5309;method_39548()Inamed minimumBlockYLnet/minecraft/world/gen/chunk/GenerationShapeConfig;minimumBlockY()I
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
minimumY
public int minimumY()Returns the value of theminimumYrecord component.- Returns:
- the value of the
minimumYrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
sampling
Returns the value of thesamplingrecord component.- Returns:
- the value of the
samplingrecord component
-
topSlide
Returns the value of thetopSliderecord component.- Returns:
- the value of the
topSliderecord component
-
bottomSlide
Returns the value of thebottomSliderecord component.- Returns:
- the value of the
bottomSliderecord component
-
horizontalSize
public int horizontalSize()Returns the value of thehorizontalSizerecord component.- Returns:
- the value of the
horizontalSizerecord component
-
verticalSize
public int verticalSize()Returns the value of theverticalSizerecord component.- Returns:
- the value of the
verticalSizerecord component
-
terrainParameters
Returns the value of theterrainParametersrecord component.- Returns:
- the value of the
terrainParametersrecord component
-