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/DimensionPaddingintermediary net/minecraft/class_9778official ekrnamed bottomintermediary comp_2818official cnamed topintermediary comp_2819official d
-
Field Summary
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier 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
-
bottom
private final int bottomThe field for thebottomrecord component. -
top
private final int topThe field for thetoprecord component. -
OBJECT_CODEC
- Mappings:
Namespace Name Mixin selector named OBJECT_CODECLnet/minecraft/world/gen/structure/DimensionPadding;OBJECT_CODEC:Lcom/mojang/serialization/Codec;intermediary field_51954Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;official eLekr;e:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/structure/DimensionPadding;CODEC:Lcom/mojang/serialization/Codec;intermediary field_51952Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;official aLekr;a:Lcom/mojang/serialization/Codec;
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/world/gen/structure/DimensionPadding;NONE:Lnet/minecraft/world/gen/structure/DimensionPadding;intermediary field_51953Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;official bLekr;b:Lekr;
-
-
Constructor Details
-
DimensionPadding
public DimensionPadding(int value) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/structure/DimensionPadding;<init>(I)Vintermediary <init>Lnet/minecraft/class_9778;<init>(I)Vofficial <init>Lekr;<init>(I)V
-
DimensionPadding
public DimensionPadding(int int2, int int3)
-
-
Method Details
-
paddedBySameDistance
public boolean paddedBySameDistance()- Mappings:
Namespace Name Mixin selector named paddedBySameDistanceLnet/minecraft/world/gen/structure/DimensionPadding;paddedBySameDistance()Zintermediary method_60629Lnet/minecraft/class_9778;method_60629()Zofficial aLekr;a()Z
-
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. All components in this record class are compared with '=='. -
bottom
public int bottom()Returns the value of thebottomrecord component.- Returns:
- the value of the
bottomrecord component
-
top
public int top()Returns the value of thetoprecord component.- Returns:
- the value of the
toprecord component
-