Package net.minecraft.world.gen.chunk
Record Class BlendingData.Serialized
java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.BlendingData.Serialized
- Record Components:
- minSection-
- maxSection-
- heights-
- Enclosing class:
- BlendingData
public static record BlendingData.Serialized(int minSection, int maxSection, Optional<double[]> heights)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/chunk/BlendingData$Serialized- intermediary - net/minecraft/class_6749$class_9899- official - edw$d- named - minSection- intermediary - comp_2969- official - b- named - maxSection- intermediary - comp_2970- official - c- named - heights- intermediary - comp_2971- official - d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlendingData.Serialized> private static final com.mojang.serialization.Codec<double[]> private final Optional<double[]> The field for theheightsrecord component.private final intThe field for themaxSectionrecord component.private final intThe field for theminSectionrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Optional<double[]> heights()Returns the value of theheightsrecord component.intReturns the value of themaxSectionrecord component.intReturns the value of theminSectionrecord component.final StringtoString()Returns a string representation of this record class.private static com.mojang.serialization.DataResult<BlendingData.Serialized> validate(BlendingData.Serialized serialized) 
- 
Field Details- 
minSectionprivate final int minSectionThe field for theminSectionrecord component.
- 
maxSectionprivate final int maxSectionThe field for themaxSectionrecord component.
- 
heightsThe field for theheightsrecord component.
- 
DOUBLE_ARRAY_CODECprivate static final com.mojang.serialization.Codec<double[]> DOUBLE_ARRAY_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - DOUBLE_ARRAY_CODEC- Lnet/minecraft/world/gen/chunk/BlendingData$Serialized;DOUBLE_ARRAY_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_52656- Lnet/minecraft/class_6749$class_9899;field_52656:Lcom/mojang/serialization/Codec;- official - e- Ledw$d;e:Lcom/mojang/serialization/Codec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/chunk/BlendingData$Serialized;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_52655- Lnet/minecraft/class_6749$class_9899;field_52655:Lcom/mojang/serialization/Codec;- official - a- Ledw$d;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
Serialized
 
- 
- 
Method Details- 
validateprivate static com.mojang.serialization.DataResult<BlendingData.Serialized> validate(BlendingData.Serialized serialized) - Mappings:
- Namespace - Name - Mixin selector - named - validate- Lnet/minecraft/world/gen/chunk/BlendingData$Serialized;validate(Lnet/minecraft/world/gen/chunk/BlendingData$Serialized;)Lcom/mojang/serialization/DataResult;- intermediary - method_61811- Lnet/minecraft/class_6749$class_9899;method_61811(Lnet/minecraft/class_6749$class_9899;)Lcom/mojang/serialization/DataResult;- official - a- Ledw$d;a(Ledw$d;)Lcom/mojang/serialization/DataResult;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
minSectionpublic int minSection()Returns the value of theminSectionrecord component.- Returns:
- the value of the minSectionrecord component
 
- 
maxSectionpublic int maxSection()Returns the value of themaxSectionrecord component.- Returns:
- the value of the maxSectionrecord component
 
- 
heightsReturns the value of theheightsrecord component.- Returns:
- the value of the heightsrecord component
 
 
-