Package net.minecraft
Record Class class_8690.class_8691.class_8692
java.lang.Object
java.lang.Record
net.minecraft.class_8690.class_8691.class_8692
- Record Components:
left-top-right-bottom-
- Enclosing class:
class_8690.class_8691
@Environment(CLIENT)
public static record class_8690.class_8691.class_8692(int left, int top, int right, int bottom)
extends Record
- Mappings:
Namespace Name official fzy$a$aintermediary net/minecraft/class_8690$class_8691$class_8692named net/minecraft/class_8690$class_8691$class_8692official aintermediary comp_1640named leftofficial bintermediary comp_1641named topofficial cintermediary comp_1642named rightofficial dintermediary comp_1643named bottom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thebottomrecord component.private static final com.mojang.serialization.Codec<class_8690.class_8691.class_8692>private static final com.mojang.serialization.Codec<class_8690.class_8691.class_8692>(package private) static final com.mojang.serialization.Codec<class_8690.class_8691.class_8692>private final intThe field for theleftrecord component.private final intThe field for therightrecord component.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.intleft()Returns the value of theleftrecord component.private OptionalIntintright()Returns the value of therightrecord component.inttop()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
left
private final int leftThe field for theleftrecord component. -
top
private final int topThe field for thetoprecord component. -
right
private final int rightThe field for therightrecord component. -
bottom
private final int bottomThe field for thebottomrecord component. -
field_45651
- Mappings:
Namespace Name Mixin selector official eLfzy$a$a;e:Lcom/mojang/serialization/Codec;intermediary field_45651Lnet/minecraft/class_8690$class_8691$class_8692;field_45651:Lcom/mojang/serialization/Codec;named field_45651Lnet/minecraft/class_8690$class_8691$class_8692;field_45651:Lcom/mojang/serialization/Codec;
-
field_45652
- Mappings:
Namespace Name Mixin selector official fLfzy$a$a;f:Lcom/mojang/serialization/Codec;intermediary field_45652Lnet/minecraft/class_8690$class_8691$class_8692;field_45652:Lcom/mojang/serialization/Codec;named field_45652Lnet/minecraft/class_8690$class_8691$class_8692;field_45652:Lcom/mojang/serialization/Codec;
-
field_45653
- Mappings:
Namespace Name Mixin selector official gLfzy$a$a;g:Lcom/mojang/serialization/Codec;intermediary field_45653Lnet/minecraft/class_8690$class_8691$class_8692;field_45653:Lcom/mojang/serialization/Codec;named field_45653Lnet/minecraft/class_8690$class_8691$class_8692;field_45653:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8692
public class_8692(int int2, int int3, int int4, int int5)
-
-
Method Details
-
method_52883
- Mappings:
Namespace Name Mixin selector official eLfzy$a$a;e()Ljava/util/OptionalInt;intermediary method_52883Lnet/minecraft/class_8690$class_8691$class_8692;method_52883()Ljava/util/OptionalInt;named method_52883Lnet/minecraft/class_8690$class_8691$class_8692;method_52883()Ljava/util/OptionalInt;
-
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 '=='. -
left
public int left()Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
top
public int top()Returns the value of thetoprecord component.- Returns:
- the value of the
toprecord component
-
right
public int right()Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-
bottom
public int bottom()Returns the value of thebottomrecord component.- Returns:
- the value of the
bottomrecord component
-