Class GameRendererMixin

java.lang.Object
foundry.veil.mixin.client.shader.GameRendererMixin

public class GameRendererMixin extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.ShaderInstance
    veil$replaceShaders(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, String name, com.mojang.blaze3d.vertex.VertexFormat vertexFormat)
    This is needed to replace the shader instance initializer when shader replacement is used

    Methods inherited from class java.lang.Object

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

    • GameRendererMixin

      public GameRendererMixin()
  • Method Details

    • veil$replaceShaders

      public net.minecraft.client.renderer.ShaderInstance veil$replaceShaders(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, String name, com.mojang.blaze3d.vertex.VertexFormat vertexFormat) throws IOException
      This is needed to replace the shader instance initializer when shader replacement is used
      Throws:
      IOException