Class SheetedDecalTextureGenerator

java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
All Implemented Interfaces:
VertexConsumer, IForgeVertexConsumer

public class SheetedDecalTextureGenerator extends DefaultedVertexConsumer
  • Field Details

    • delegate

      private final VertexConsumer delegate
    • cameraInversePose

      private final Matrix4f cameraInversePose
    • normalInversePose

      private final Matrix3f normalInversePose
    • x

      private float x
    • y

      private float y
    • z

      private float z
    • overlayU

      private int overlayU
    • overlayV

      private int overlayV
    • lightCoords

      private int lightCoords
    • nx

      private float nx
    • ny

      private float ny
    • nz

      private float nz
  • Constructor Details

  • Method Details

    • resetState

      private void resetState()
    • endVertex

      public void endVertex()
    • vertex

      public VertexConsumer vertex(double p_85885_, double p_85886_, double p_85887_)
    • color

      public VertexConsumer color(int p_85895_, int p_85896_, int p_85897_, int p_85898_)
    • uv

      public VertexConsumer uv(float p_85889_, float p_85890_)
    • overlayCoords

      public VertexConsumer overlayCoords(int p_85892_, int p_85893_)
    • uv2

      public VertexConsumer uv2(int p_85904_, int p_85905_)
    • normal

      public VertexConsumer normal(float p_85900_, float p_85901_, float p_85902_)