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 argb) static GizmoStyleGizmoStyle.stroke(int argb) static GizmoStyleGizmoStyle.stroke(int argb, float width) 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 blockPos, float padding, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(BlockPos blockPos, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(AABB aabb, GizmoStyle style) static GizmoPropertiesGizmos.cuboid(AABB aabb, GizmoStyle style, boolean coloredCorner) static RectGizmoRectGizmo.fromCuboidFace(Vec3 cuboidCornerA, Vec3 cuboidCornerB, Direction face, GizmoStyle style) static GizmoPropertiesGizmos.rect(Vec3 cuboidCornerA, Vec3 cuboidCornerB, 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.