Package net.minecraft
Record Class class_9778
java.lang.Object
java.lang.Record
net.minecraft.class_9778
- Record Components:
bottom-top-
- Mappings:
Namespace Name named net/minecraft/class_9778intermediary net/minecraft/class_9778official ejxnamed 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<class_9778> static final class_9778private static final com.mojang.serialization.Codec<class_9778> 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. -
field_51954
- Mappings:
Namespace Name Mixin selector named field_51954Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;intermediary field_51954Lnet/minecraft/class_9778;field_51954:Lcom/mojang/serialization/Codec;official eLejx;e:Lcom/mojang/serialization/Codec;
-
field_51952
- Mappings:
Namespace Name Mixin selector named field_51952Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;intermediary field_51952Lnet/minecraft/class_9778;field_51952:Lcom/mojang/serialization/Codec;official aLejx;a:Lcom/mojang/serialization/Codec;
-
field_51953
- Mappings:
Namespace Name Mixin selector named field_51953Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;intermediary field_51953Lnet/minecraft/class_9778;field_51953:Lnet/minecraft/class_9778;official bLejx;b:Lejx;
-
-
Constructor Details
-
class_9778
public class_9778(int int2) -
class_9778
public class_9778(int int2, int int3)
-
-
Method Details
-
method_60629
public boolean method_60629()- Mappings:
Namespace Name Mixin selector named method_60629Lnet/minecraft/class_9778;method_60629()Zintermediary method_60629Lnet/minecraft/class_9778;method_60629()Zofficial aLejx;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
-