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 ejx
named bottom
intermediary comp_2818
official c
named top
intermediary comp_2819
official d
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
The field for thebottom
record component.static final com.mojang.serialization.Codec
<DimensionPadding> static final DimensionPadding
private static final com.mojang.serialization.Codec
<DimensionPadding> private final int
The field for thetop
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
bottom()
Returns the value of thebottom
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
int
top()
Returns the value of thetop
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
bottom
private final int bottomThe field for thebottom
record component. -
top
private final int topThe field for thetop
record 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
Lejx;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
Lejx;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
Lejx;b:Lejx;
-
-
Constructor Details
-
DimensionPadding
public 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>
Lejx;<init>(I)V
-
DimensionPadding
public DimensionPadding(int int2, int int3)
-
-
Method Details
-
paddedBySameDistance
public 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
Lejx;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 thebottom
record component.- Returns:
- the value of the
bottom
record component
-
top
public int top()Returns the value of thetop
record component.- Returns:
- the value of the
top
record component
-