Package net.minecraft
Record Class class_8030
java.lang.Object
java.lang.Record
net.minecraft.class_8030
- Record Components:
position-width-height-
@Environment(CLIENT)
public record class_8030(class_8029 position, int width, int height)
extends Record
- Mappings:
Namespace Name official eolintermediary net/minecraft/class_8030named net/minecraft/class_8030official aintermediary comp_1195named positionofficial bintermediary comp_1196named widthofficial cintermediary comp_1197named height
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final class_8030private final intThe field for theheightrecord component.private final class_8029The field for thepositionrecord component.private final intThe field for thewidthrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8030(int int2, int int3, int int4, int int5) class_8030(class_8029 class_8029, int int2, int int3) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.static class_8030intmethod_48249(NavigationAxis navigationAxis) static class_8030method_48250(NavigationAxis navigationAxis, int int2, int int3, int int4, int int5) method_48251(NavigationDirection navigationDirection) booleanmethod_48252(class_8030 class_8030) booleanmethod_48253(class_8030 class_8030, NavigationAxis navigationAxis) intmethod_48254(NavigationAxis navigationAxis) intmethod_48255(NavigationDirection navigationDirection) method_48256(NavigationDirection navigationDirection) position()Returns the value of thepositionrecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
-
Field Details
-
position
The field for thepositionrecord component. -
width
private final int widthThe field for thewidthrecord component. -
height
private final int heightThe field for theheightrecord component. -
field_41835
- Mappings:
Namespace Name Mixin selector official dLeol;d:Leol;intermediary field_41835Lnet/minecraft/class_8030;field_41835:Lnet/minecraft/class_8030;named field_41835Lnet/minecraft/class_8030;field_41835:Lnet/minecraft/class_8030;
-
-
Constructor Details
-
class_8030
public class_8030(int int2, int int3, int int4, int int5) -
class_8030
-
-
Method Details
-
method_48248
- Mappings:
Namespace Name Mixin selector official aLeol;a()Leol;intermediary method_48248Lnet/minecraft/class_8030;method_48248()Lnet/minecraft/class_8030;named method_48248Lnet/minecraft/class_8030;method_48248()Lnet/minecraft/class_8030;
-
method_48252
- Mappings:
Namespace Name Mixin selector official aLeol;a(Leol;)Zintermediary method_48252Lnet/minecraft/class_8030;method_48252(Lnet/minecraft/class_8030;)Znamed method_48252Lnet/minecraft/class_8030;method_48252(Lnet/minecraft/class_8030;)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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
width
public int width()Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
public int height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-