Package net.minecraft
Record Class class_8162.class_8163
java.lang.Object
java.lang.Record
net.minecraft.class_8162.class_8163
- Record Components:
xd-yd-zd-
- Enclosing class:
class_8162
- Mappings:
Namespace Name official cdw$aintermediary net/minecraft/class_8162$class_8163named net/minecraft/class_8162$class_8163official aintermediary comp_1286named xdofficial bintermediary comp_1287named ydofficial cintermediary comp_1288named zd
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.static class_8162.class_8163method_49185(Vec3d vec3d, Direction direction) final StringtoString()Returns a string representation of this record class.doublexd()Returns the value of thexdrecord component.doubleyd()Returns the value of theydrecord component.doublezd()Returns the value of thezdrecord component.
-
Field Details
-
xd
private final double xdThe field for thexdrecord component. -
yd
private final double ydThe field for theydrecord component. -
zd
private final double zdThe field for thezdrecord component. -
field_42685
private static final double field_42685- See Also:
- Mappings:
Namespace Name Mixin selector official dLcdw$a;d:Dintermediary field_42685Lnet/minecraft/class_8162$class_8163;field_42685:Dnamed field_42685Lnet/minecraft/class_8162$class_8163;field_42685:D
-
field_42686
private static final double field_42686- See Also:
- Mappings:
Namespace Name Mixin selector official eLcdw$a;e:Dintermediary field_42686Lnet/minecraft/class_8162$class_8163;field_42686:Dnamed field_42686Lnet/minecraft/class_8162$class_8163;field_42686:D
-
-
Constructor Details
-
class_8163
private class_8163(double double2, double double3, double double4)
-
-
Method Details
-
method_49185
- Mappings:
Namespace Name Mixin selector official aLcdw$a;a(Ledb;Lgx;)Lcdw$a;intermediary method_49185Lnet/minecraft/class_8162$class_8163;method_49185(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;)Lnet/minecraft/class_8162$class_8163;named method_49185Lnet/minecraft/class_8162$class_8163;method_49185(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/class_8162$class_8163;
-
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 '=='. -
xd
public double xd()Returns the value of thexdrecord component.- Returns:
- the value of the
xdrecord component
-
yd
public double yd()Returns the value of theydrecord component.- Returns:
- the value of the
ydrecord component
-
zd
public double zd()Returns the value of thezdrecord component.- Returns:
- the value of the
zdrecord component
-