Record Class DimensionPadding
java.lang.Object
java.lang.Record
net.minecraft.world.gen.structure.DimensionPadding
- Record Components:
- bottom-
- top-
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/structure/DimensionPadding- intermediary - net/minecraft/class_9778- official - eon- named - bottom- intermediary - comp_2818- official - c- named - top- intermediary - comp_2819- official - d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for thebottomrecord component.static final com.mojang.serialization.Codec<DimensionPadding> static final DimensionPaddingprivate static final com.mojang.serialization.Codec<DimensionPadding> private final intThe field for thetoprecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintbottom()Returns the value of thebottomrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleaninttop()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
bottomprivate final int bottomThe field for thebottomrecord component.
- 
topprivate final int topThe field for thetoprecord component.
- 
OBJECT_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - OBJECT_CODEC- Lnet/minecraft/world/gen/structure/DimensionPadding;OBJECT_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_51954- Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;- official - e- Leon;e:Lcom/mojang/serialization/Codec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/structure/DimensionPadding;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_51952- Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;- official - a- Leon;a:Lcom/mojang/serialization/Codec;
 
- 
NONE- Mappings:
- Namespace - Name - Mixin selector - named - NONE- Lnet/minecraft/world/gen/structure/DimensionPadding;NONE:Lnet/minecraft/world/gen/structure/DimensionPadding;- intermediary - field_51953- Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;- official - b- Leon;b:Leon;
 
 
- 
- 
Constructor Details- 
DimensionPaddingpublic DimensionPadding(int value) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/structure/DimensionPadding;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_9778;<init>(I)V- official - <init>- Leon;<init>(I)V
 
- 
DimensionPaddingpublic DimensionPadding(int int2, int int3) 
 
- 
- 
Method Details- 
paddedBySameDistancepublic boolean paddedBySameDistance()- Mappings:
- Namespace - Name - Mixin selector - named - paddedBySameDistance- Lnet/minecraft/world/gen/structure/DimensionPadding;paddedBySameDistance()Z- intermediary - method_60629- Lnet/minecraft/class_9778;method_60629()Z- official - a- Leon;a()Z
 
- 
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. All components in this record class are compared with '=='.
- 
bottompublic int bottom()Returns the value of thebottomrecord component.- Returns:
- the value of the bottomrecord component
 
- 
toppublic int top()Returns the value of thetoprecord component.- Returns:
- the value of the toprecord component
 
 
-