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 cug
intermediary net/minecraft/class_5309
named net/minecraft/world/gen/chunk/GenerationShapeConfig
official f
intermediary comp_173
named minimumY
official g
intermediary comp_174
named height
official h
intermediary comp_175
named sampling
official i
intermediary comp_176
named topSlide
official j
intermediary comp_177
named bottomSlide
official k
intermediary comp_178
named horizontalSize
official l
intermediary comp_179
named verticalSize
official m
intermediary comp_247
named terrainParameters
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SlideConfig
The field for thebottomSlide
record 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 GenerationShapeConfig
private final int
The field for theheight
record component.private final int
The field for thehorizontalSize
record component.private final int
The field for theminimumY
record component.private final NoiseSamplingConfig
The field for thesampling
record component.private final VanillaTerrainParameters
The field for theterrainParameters
record component.private final SlideConfig
The field for thetopSlide
record component.private final int
The field for theverticalSize
record component. -
Constructor Summary
ConstructorDescriptionGenerationShapeConfig
(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters vanillaTerrainParameters) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebottomSlide
record component.private static com.mojang.serialization.DataResult<GenerationShapeConfig>
checkHeight
(GenerationShapeConfig config) static GenerationShapeConfig
create
(int minimumY, int height, NoiseSamplingConfig sampling, SlideConfig topSlide, SlideConfig bottomSlide, int horizontalSize, int verticalSize, VanillaTerrainParameters vanillaTerrainParameters) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
height()
Returns the value of theheight
record component.int
int
Returns the value of thehorizontalSize
record component.(package private) static GenerationShapeConfig
method_41126
(boolean bool) int
int
minimumY()
Returns the value of theminimumY
record component.sampling()
Returns the value of thesampling
record component.Returns the value of theterrainParameters
record component.topSlide()
Returns the value of thetopSlide
record component.final String
toString()
Returns a string representation of this record class.int
int
int
Returns the value of theverticalSize
record component.
-
Field Details
-
minimumY
private final int minimumYThe field for theminimumY
record component. -
height
private final int heightThe field for theheight
record component. -
sampling
The field for thesampling
record component. -
topSlide
The field for thetopSlide
record component. -
bottomSlide
The field for thebottomSlide
record component. -
horizontalSize
private final int horizontalSizeThe field for thehorizontalSize
record component. -
verticalSize
private final int verticalSizeThe field for theverticalSize
record component. -
terrainParameters
The field for theterrainParameters
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcug;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;
-
field_37138
- Mappings:
Namespace Name Mixin selector official b
Lcug;b:Lcug;
intermediary field_37138
Lnet/minecraft/class_5309;field_37138:Lnet/minecraft/class_5309;
named field_37138
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37138:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37139
- Mappings:
Namespace Name Mixin selector official c
Lcug;c:Lcug;
intermediary field_37139
Lnet/minecraft/class_5309;field_37139:Lnet/minecraft/class_5309;
named field_37139
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37139:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37140
- Mappings:
Namespace Name Mixin selector official d
Lcug;d:Lcug;
intermediary field_37140
Lnet/minecraft/class_5309;field_37140:Lnet/minecraft/class_5309;
named field_37140
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;field_37140:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
field_37141
- Mappings:
Namespace Name Mixin selector official e
Lcug;e:Lcug;
intermediary field_37141
Lnet/minecraft/class_5309;field_37141:Lnet/minecraft/class_5309;
named field_37141
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_5309;<init>(IILnet/minecraft/class_5308;Lnet/minecraft/class_5310;Lnet/minecraft/class_5310;IILnet/minecraft/class_6555;)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;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 a
Lcug;a(Lcug;)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, VanillaTerrainParameters vanillaTerrainParameters) - Mappings:
Namespace Name Mixin selector official a
Lcug;a(IILcuf;Lcuh;Lcuh;IILcce;)Lcug;
intermediary method_32994
Lnet/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 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;IILnet/minecraft/world/biome/source/util/VanillaTerrainParameters;)Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
method_41126
- Mappings:
Namespace Name Mixin selector official a
Lcug;a(Z)Lcug;
intermediary method_41126
Lnet/minecraft/class_5309;method_41126(Z)Lnet/minecraft/class_5309;
named method_41126
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;method_41126(Z)Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
verticalBlockSize
public int verticalBlockSize()- Mappings:
Namespace Name Mixin selector official a
Lcug;a()I
intermediary method_39545
Lnet/minecraft/class_5309;method_39545()I
named verticalBlockSize
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;verticalBlockSize()I
-
horizontalBlockSize
public int horizontalBlockSize()- Mappings:
Namespace Name Mixin selector official b
Lcug;b()I
intermediary method_39546
Lnet/minecraft/class_5309;method_39546()I
named horizontalBlockSize
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;horizontalBlockSize()I
-
verticalBlockCount
public int verticalBlockCount()- Mappings:
Namespace Name Mixin selector official c
Lcug;c()I
intermediary method_39547
Lnet/minecraft/class_5309;method_39547()I
named verticalBlockCount
Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;verticalBlockCount()I
-
minimumBlockY
public int minimumBlockY()- Mappings:
Namespace Name Mixin selector official d
Lcug;d()I
intermediary method_39548
Lnet/minecraft/class_5309;method_39548()I
named minimumBlockY
Lnet/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 theminimumY
record component.- Returns:
- the value of the
minimumY
record component
-
height
public int height()Returns the value of theheight
record component.- Returns:
- the value of the
height
record component
-
sampling
Returns the value of thesampling
record component.- Returns:
- the value of the
sampling
record component
-
topSlide
Returns the value of thetopSlide
record component.- Returns:
- the value of the
topSlide
record component
-
bottomSlide
Returns the value of thebottomSlide
record component.- Returns:
- the value of the
bottomSlide
record component
-
horizontalSize
public int horizontalSize()Returns the value of thehorizontalSize
record component.- Returns:
- the value of the
horizontalSize
record component
-
verticalSize
public int verticalSize()Returns the value of theverticalSize
record component.- Returns:
- the value of the
verticalSize
record component
-
terrainParameters
Returns the value of theterrainParameters
record component.- Returns:
- the value of the
terrainParameters
record component
-