java.lang.Object
com.simibubi.create.foundation.utility.outliner.Outline
Direct Known Subclasses:
AABBOutline, BlockClusterOutline, LineOutline

public abstract class Outline extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected com.mojang.math.Matrix3f
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    putQuad(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2, net.minecraft.world.phys.Vec3 v3, net.minecraft.world.phys.Vec3 v4, net.minecraft.core.Direction normal)
     
    void
    putQuadUV(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2, net.minecraft.world.phys.Vec3 v3, net.minecraft.world.phys.Vec3 v4, float minU, float minV, float maxU, float maxV, net.minecraft.core.Direction normal)
     
    protected void
    putVertex(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer builder, float x, float y, float z, float u, float v, net.minecraft.core.Direction normal)
     
    protected void
    putVertex(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 pos, float u, float v, net.minecraft.core.Direction normal)
     
    abstract void
    render(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, float pt)
     
    void
    renderAACuboidLine(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
     
    void
    renderCuboidLine(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • params

      protected Outline.OutlineParams params
    • transformNormals

      protected com.mojang.math.Matrix3f transformNormals
  • Constructor Details

    • Outline

      public Outline()
  • Method Details

    • render

      public abstract void render(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, float pt)
    • tick

      public void tick()
    • getParams

      public Outline.OutlineParams getParams()
    • renderCuboidLine

      public void renderCuboidLine(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
    • renderAACuboidLine

      public void renderAACuboidLine(com.mojang.blaze3d.vertex.PoseStack ms, SuperRenderTypeBuffer buffer, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
    • putQuad

      public void putQuad(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2, net.minecraft.world.phys.Vec3 v3, net.minecraft.world.phys.Vec3 v4, net.minecraft.core.Direction normal)
    • putQuadUV

      public void putQuadUV(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 v1, net.minecraft.world.phys.Vec3 v2, net.minecraft.world.phys.Vec3 v3, net.minecraft.world.phys.Vec3 v4, float minU, float minV, float maxU, float maxV, net.minecraft.core.Direction normal)
    • putVertex

      protected void putVertex(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.world.phys.Vec3 pos, float u, float v, net.minecraft.core.Direction normal)
    • putVertex

      protected void putVertex(com.mojang.blaze3d.vertex.PoseStack.Pose pose, com.mojang.blaze3d.vertex.VertexConsumer builder, float x, float y, float z, float u, float v, net.minecraft.core.Direction normal)