Package net.minecraft.world.debug.gizmo
Record Class CircleGizmo
java.lang.Object
java.lang.Record
net.minecraft.world.debug.gizmo.CircleGizmo
- Record Components:
pos-radius-style-
- All Implemented Interfaces:
Gizmo
- Mappings:
Namespace Name named net/minecraft/world/debug/gizmo/CircleGizmointermediary net/minecraft/class_12173official uknamed posintermediary comp_5094official anamed radiusintermediary comp_5095official bnamed styleintermediary comp_5096official c
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCircleGizmo(Vec3d pos, float radius, DrawStyle style) Creates an instance of aCircleGizmorecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(GizmoDrawer consumer, float float2) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.floatradius()Returns the value of theradiusrecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pos
The field for theposrecord component. -
radius
private final float radiusThe field for theradiusrecord component. -
style
The field for thestylerecord component. -
NUM_VERTICES
private static final int NUM_VERTICES- See Also:
- Mappings:
Namespace Name Mixin selector named NUM_VERTICESLnet/minecraft/world/debug/gizmo/CircleGizmo;NUM_VERTICES:Iintermediary field_63653Lnet/minecraft/class_12173;field_63653:Iofficial dLuk;d:I
-
ANGLE_INTERVAL
private static final float ANGLE_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector named ANGLE_INTERVALLnet/minecraft/world/debug/gizmo/CircleGizmo;ANGLE_INTERVAL:Fintermediary field_63654Lnet/minecraft/class_12173;field_63654:Fofficial eLuk;e:F
-
-
Constructor Details
-
Method Details
-
draw
- Specified by:
drawin interfaceGizmo- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/world/debug/gizmo/Gizmo;draw(Lnet/minecraft/world/debug/gizmo/GizmoDrawer;F)Vintermediary method_75531Lnet/minecraft/class_12175;method_75531(Lnet/minecraft/class_12177;F)Vofficial aLum;a(Luo;F)V
-
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 '=='. -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
radius
public float radius()Returns the value of theradiusrecord component.- Returns:
- the value of the
radiusrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-