Uses of Record Class
net.minecraft.gizmos.GizmoStyle
Packages that use GizmoStyle
-
Uses of GizmoStyle in net.minecraft.gizmos
Fields in net.minecraft.gizmos declared as GizmoStyleModifier and TypeFieldDescriptionprivate final GizmoStyleCircleGizmo.styleThe field for thestylerecord component.private final GizmoStyleCuboidGizmo.styleThe field for thestylerecord component.private final GizmoStyleRectGizmo.styleThe field for thestylerecord component.Methods in net.minecraft.gizmos that return GizmoStyleModifier and TypeMethodDescriptionstatic GizmoStyleGizmoStyle.fill(int fill) static GizmoStyleGizmoStyle.stroke(int stroke) static GizmoStyleGizmoStyle.stroke(int stroke, float strokeWidth) static GizmoStyleGizmoStyle.strokeAndFill(int stroke, float strokeWidth, int fill) CircleGizmo.style()Returns the value of thestylerecord component.CuboidGizmo.style()Returns the value of thestylerecord component.RectGizmo.style()Returns the value of thestylerecord component.Methods in net.minecraft.gizmos with parameters of type GizmoStyleModifier and TypeMethodDescriptionstatic GizmoPropertiesGizmos.circle(Vec3 pos, float radius, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(BlockPos pos, float inflate, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(BlockPos pos, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(AABB aabb, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(AABB aabb, GizmoStyle style, boolean colorCornerStroke) static RectGizmoRectGizmo.fromCuboidFace(Vec3 corner1, Vec3 corner2, Direction face, GizmoStyle style) static GizmoPropertiesGizmos.rect(Vec3 corner1, Vec3 corner2, Direction face, GizmoStyle style) static GizmoPropertiesConstructors in net.minecraft.gizmos with parameters of type GizmoStyleModifierConstructorDescriptionCircleGizmo(Vec3 pos, float radius, GizmoStyle style) Creates an instance of aCircleGizmorecord class.CuboidGizmo(AABB aabb, GizmoStyle style, boolean coloredCornerStroke) Creates an instance of aCuboidGizmorecord class.Creates an instance of aRectGizmorecord class.