java.lang.Object
org.hiedacamellia.immersiveui.client.graphic.util.IUIGuiUtils

public class IUIGuiUtils extends Object
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static void
    _blit(com.mojang.blaze3d.vertex.PoseStack poseStack, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    _blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    _borderRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color, float borderThickness, int borderColor)
     
    static void
    _fillBorderRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radiusX, float radiusY, int color)
     
    static void
    _fillRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, int x, int y, int width, int height)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, int x, int y, int width, int height)
     
    static void
    blit(net.minecraft.client.gui.GuiGraphics guiGraphics, int textureId, int x, int y, int width, int height)
     
    static void
    blit(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2)
     
    static void
    blit(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation location, int x, int y, int width, int height)
     
    static void
    blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
     
    static void
    blitRoundCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation resourceLocation, float x, float y, int radius, float smooth)
     
    static void
    blur(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float radius)
     
    static void
    blur(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float radius, float u0, float v0, float u1, float v1)
     
    static void
    blur(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius)
     
    static void
    blur(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius, float u0, float v0, float u1, float v1)
     
    static void
    blur(net.minecraft.client.gui.GuiGraphics guiGraphics, int textureId, float x1, float y1, float x2, float y2, float radius)
     
    static void
    blur(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius)
     
    static void
    borderRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int width, int height, float radius, int color, float borderThickness, int borderColor)
     
    static void
    borderRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color, float borderThickness, int borderColor)
     
    static void
    borderRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int width, int height, float radius, int color, float borderThickness, int borderColor)
     
    static void
    drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow)
     
    static void
    drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow)
     
    static void
    drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow)
     
    static void
    drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int color)
     
    static void
    drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int color, float smooth)
     
    static void
    drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int innerColor, int outerColor)
     
    static void
    drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int innerColor, int outerColor, float smooth)
     
    static int
    drawString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, String text, float x, float y, int color, boolean s)
     
    static int
    drawString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, float x, float y, int color, boolean dropShadow)
     
    static void
    fill(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, int color)
     
    static void
    fillBorderRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color)
     
    static void
    fillBorderRect(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, float radiusX, float radiusY, int color)
     
    static void
    fillBorderRect(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, float radius, int color)
     
    static void
    fillCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, int color)
     
    static void
    fillRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int width, int height, float radius, int color)
     
    static void
    fillRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color)
     
    static void
    fillRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int radius, int color)
     
    static void
    fillRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int width, int height, float radius, int color)
     
    static void
    fillRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color)
     
    static void
    fillSquare(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float sideLength, int color)
     
    static void
    fillSquareCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float sideLength, int color)
     
    static void
    fillTriangle(net.minecraft.client.gui.GuiGraphics guiGraphics, float[] vertex, int color)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • IUIGuiUtils

      public IUIGuiUtils()
  • 方法详细资料

    • fillTriangle

      public static void fillTriangle(net.minecraft.client.gui.GuiGraphics guiGraphics, float[] vertex, int color)
    • fillSquareCentered

      public static void fillSquareCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float sideLength, int color)
    • fillSquare

      public static void fillSquare(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float sideLength, int color)
    • fillCentered

      public static void fillCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, int color)
    • fill

      public static void fill(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, int color)
    • fillRoundRectCentered

      public static void fillRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color)
    • fillRoundRectCentered

      public static void fillRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int width, int height, float radius, int color)
    • fillRoundRect

      public static void fillRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int radius, int color)
    • fillRoundRect

      public static void fillRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color)
    • fillRoundRect

      public static void fillRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int width, int height, float radius, int color)
    • _fillRoundRect

      public static void _fillRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color)
    • fillBorderRect

      public static void fillBorderRect(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, float radius, int color)
    • fillBorderRect

      public static void fillBorderRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color)
    • fillBorderRect

      public static void fillBorderRect(net.minecraft.client.gui.GuiGraphics guiGraphics, float x, float y, float width, float height, float radiusX, float radiusY, int color)
    • _fillBorderRect

      public static void _fillBorderRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radiusX, float radiusY, int color)
    • borderRoundRectCentered

      public static void borderRoundRectCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, int width, int height, float radius, int color, float borderThickness, int borderColor)
    • borderRoundRect

      public static void borderRoundRect(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, float radius, int color, float borderThickness, int borderColor)
    • borderRoundRect

      public static void borderRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, int x, int y, int width, int height, float radius, int color, float borderThickness, int borderColor)
    • _borderRoundRect

      public static void _borderRoundRect(com.mojang.blaze3d.vertex.PoseStack poseStack, float x, float y, float width, float height, float radius, int color, float borderThickness, int borderColor)
    • blit

      public static void blit(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation location, int x, int y, int width, int height)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, int x, int y, int width, int height)
    • blit

      public static void blit(net.minecraft.client.gui.GuiGraphics guiGraphics, int textureId, int x, int y, int width, int height)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, int x, int y, int width, int height)
    • blit

      public static void blit(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • _blit

      public static void _blit(com.mojang.blaze3d.vertex.PoseStack poseStack, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • blitInUv

      public static void blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation location, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • blitInUv

      public static void blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • _blitInUv

      public static void _blitInUv(com.mojang.blaze3d.vertex.PoseStack poseStack, float x1, float y1, float x2, float y2, float u0, float v0, float u1, float v1)
    • blur

      public static void blur(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float radius)
    • blur

      public static void blur(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius)
    • blur

      public static void blur(net.minecraft.client.gui.GuiGraphics guiGraphics, int textureId, float x1, float y1, float x2, float y2, float radius)
    • blur

      public static void blur(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius)
    • blur

      public static void blur(com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.resources.ResourceLocation atlasLocation, float x1, float y1, float x2, float y2, float radius, float u0, float v0, float u1, float v1)
    • blur

      public static void blur(com.mojang.blaze3d.vertex.PoseStack poseStack, int textureId, float x1, float y1, float x2, float y2, float radius, float u0, float v0, float u1, float v1)
    • drawCenteredString

      public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow)
    • drawCenteredString

      public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow)
    • drawCenteredString

      public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow)
    • drawString

      public static int drawString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, float x, float y, int color, boolean dropShadow)
    • drawString

      public static int drawString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, @Nullable String text, float x, float y, int color, boolean s)
    • drawRing

      public static void drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int color)
    • drawRing

      public static void drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int color, float smooth)
    • drawRing

      public static void drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int innerColor, int outerColor)
    • drawRing

      public static void drawRing(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, float innerRadius, float outerRadius, float startAngle, float endAngle, int innerColor, int outerColor, float smooth)
    • blitRoundCentered

      public static void blitRoundCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.resources.ResourceLocation resourceLocation, float x, float y, int radius, float smooth)