Class CompositeStateMixin

java.lang.Object
foundry.veil.mixin.rendertype.client.CompositeStateMixin
All Implemented Interfaces:
VeilRenderTypeAccessor, CompositeStateExtension

public class CompositeStateMixin extends Object implements VeilRenderTypeAccessor, CompositeStateExtension
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.RenderStateShard.ColorLogicStateShard
     
    net.minecraft.client.renderer.RenderStateShard.CullStateShard
     
    net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard
     
    net.minecraft.client.renderer.RenderStateShard.LayeringStateShard
     
    net.minecraft.client.renderer.RenderStateShard.LightmapStateShard
     
    net.minecraft.client.renderer.RenderStateShard.LineStateShard
     
    net.minecraft.client.renderer.RenderType.OutlineProperty
     
    net.minecraft.client.renderer.RenderStateShard.OutputStateShard
     
    net.minecraft.client.renderer.RenderStateShard.OverlayStateShard
     
    net.minecraft.client.renderer.RenderStateShard.ShaderStateShard
     
    List<net.minecraft.client.renderer.RenderStateShard>
     
    net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard
     
    net.minecraft.client.renderer.RenderStateShard.TexturingStateShard
     
    net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard
     
    void
    veil$addShards(Collection<net.minecraft.client.renderer.RenderStateShard> shards)
     
    net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard
     

    Methods inherited from class java.lang.Object

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

    • CompositeStateMixin

      public CompositeStateMixin()
  • Method Details

    • textureState

      public net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard textureState()
      Specified by:
      textureState in interface VeilRenderTypeAccessor
      Returns:
      The Minecraft state deciding what textures should be bound
    • shaderState

      public net.minecraft.client.renderer.RenderStateShard.ShaderStateShard shaderState()
      Specified by:
      shaderState in interface VeilRenderTypeAccessor
      Returns:
      The Minecraft state deciding what ShaderInstance to use
    • transparencyState

      public net.minecraft.client.renderer.RenderStateShard.TransparencyStateShard transparencyState()
      Specified by:
      transparencyState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL14C.glBlendFuncSeparate(int, int, int, int)
    • depthTestState

      public net.minecraft.client.renderer.RenderStateShard.DepthTestStateShard depthTestState()
      Specified by:
      depthTestState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.GL_DEPTH_TEST
    • cullState

      public net.minecraft.client.renderer.RenderStateShard.CullStateShard cullState()
      Specified by:
      cullState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.glCullFace(int)
    • lightmapState

      public net.minecraft.client.renderer.RenderStateShard.LightmapStateShard lightmapState()
      Specified by:
      lightmapState in interface VeilRenderTypeAccessor
      Returns:
      The Minecraft state determining if the LightTexture should be enabled
    • overlayState

      public net.minecraft.client.renderer.RenderStateShard.OverlayStateShard overlayState()
      Specified by:
      overlayState in interface VeilRenderTypeAccessor
      Returns:
      The Minecraft state determining if the OverlayTexture should be enabled
    • layeringState

      public net.minecraft.client.renderer.RenderStateShard.LayeringStateShard layeringState()
      Specified by:
      layeringState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.glPolygonOffset(float, float) or RenderSystem.getModelViewStack()
    • outputState

      public net.minecraft.client.renderer.RenderStateShard.OutputStateShard outputState()
      Specified by:
      outputState in interface VeilRenderTypeAccessor
      Returns:
      The state of what framebuffer to write into
    • texturingState

      public net.minecraft.client.renderer.RenderStateShard.TexturingStateShard texturingState()
      Specified by:
      texturingState in interface VeilRenderTypeAccessor
      Returns:
      The Minecraft state intended to call RenderSystem.setTextureMatrix(Matrix4f)
    • writeMaskState

      public net.minecraft.client.renderer.RenderStateShard.WriteMaskStateShard writeMaskState()
      Specified by:
      writeMaskState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.glColorMask(boolean, boolean, boolean, boolean) and GL11C.glDepthMask(boolean)
    • lineState

      public net.minecraft.client.renderer.RenderStateShard.LineStateShard lineState()
      Specified by:
      lineState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.glLineWidth(float)
    • colorLogicState

      public net.minecraft.client.renderer.RenderStateShard.ColorLogicStateShard colorLogicState()
      Specified by:
      colorLogicState in interface VeilRenderTypeAccessor
      Returns:
      The state of GL11C.glLogicOp(int)
    • outlineProperty

      public net.minecraft.client.renderer.RenderType.OutlineProperty outlineProperty()
      Specified by:
      outlineProperty in interface VeilRenderTypeAccessor
      Returns:
      The outline property state
    • states

      public List<net.minecraft.client.renderer.RenderStateShard> states()
      Specified by:
      states in interface VeilRenderTypeAccessor
      Returns:
      An immutable view of all states in the render type
    • veil$addShards

      public void veil$addShards(Collection<net.minecraft.client.renderer.RenderStateShard> shards)
      Specified by:
      veil$addShards in interface CompositeStateExtension