Package net.minecraft.item
Record Class BrushItem.DustParticlesOffset
java.lang.Object
java.lang.Record
net.minecraft.item.BrushItem.DustParticlesOffset
- Record Components:
xd
-yd
-zd
-
- Enclosing class:
BrushItem
- Mappings:
Namespace Name named net/minecraft/item/BrushItem$DustParticlesOffset
intermediary net/minecraft/class_8162$class_8163
official cvz$a
named xd
intermediary comp_1286
official a
named yd
intermediary comp_1287
official b
named zd
intermediary comp_1288
official c
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
DustParticlesOffset
(double double2, double double3, double double4) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.double
xd()
Returns the value of thexd
record component.double
yd()
Returns the value of theyd
record component.double
zd()
Returns the value of thezd
record component.
-
Field Details
-
xd
private final double xdThe field for thexd
record component. -
yd
private final double ydThe field for theyd
record component. -
zd
private final double zdThe field for thezd
record component. -
field_42685
private static final double field_42685- See Also:
- Mappings:
Namespace Name Mixin selector named field_42685
Lnet/minecraft/item/BrushItem$DustParticlesOffset;field_42685:D
intermediary field_42685
Lnet/minecraft/class_8162$class_8163;field_42685:D
official d
Lcvz$a;d:D
-
field_42686
private static final double field_42686- See Also:
- Mappings:
Namespace Name Mixin selector named field_42686
Lnet/minecraft/item/BrushItem$DustParticlesOffset;field_42686:D
intermediary field_42686
Lnet/minecraft/class_8162$class_8163;field_42686:D
official e
Lcvz$a;e:D
-
-
Constructor Details
-
DustParticlesOffset
private DustParticlesOffset(double double2, double double3, double double4)
-
-
Method Details
-
fromSide
- Mappings:
Namespace Name Mixin selector named fromSide
Lnet/minecraft/item/BrushItem$DustParticlesOffset;fromSide(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/item/BrushItem$DustParticlesOffset;
intermediary method_49185
Lnet/minecraft/class_8162$class_8163;method_49185(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;)Lnet/minecraft/class_8162$class_8163;
official a
Lcvz$a;a(Lfbx;Ljm;)Lcvz$a;
-
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 thexd
record component.- Returns:
- the value of the
xd
record component
-
yd
public double yd()Returns the value of theyd
record component.- Returns:
- the value of the
yd
record component
-
zd
public double zd()Returns the value of thezd
record component.- Returns:
- the value of the
zd
record component
-