Class ShaderEffect

java.lang.Object
net.minecraft.client.gl.ShaderEffect

@Environment(CLIENT) public class ShaderEffect extends Object
Mappings:
Namespace Name
official ctg
intermediary net/minecraft/class_1872
named net/minecraft/client/gl/ShaderEffect
  • Field Details

    • frameBuffer

      private Framebuffer frameBuffer
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a:Lckw;
      intermediary field_8038 Lnet/minecraft/class_1872;field_8038:Lnet/minecraft/class_1862;
      named frameBuffer Lnet/minecraft/client/gl/ShaderEffect;frameBuffer:Lnet/minecraft/client/gl/Framebuffer;
    • resurceManager

      private ResourceManager resurceManager
      Mappings:
      Namespace Name Mixin selector
      official b Lctg;b:Lcvk;
      intermediary field_8039 Lnet/minecraft/class_1872;field_8039:Lnet/minecraft/class_1654;
      named resurceManager Lnet/minecraft/client/gl/ShaderEffect;resurceManager:Lnet/minecraft/resource/ResourceManager;
    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      official c Lctg;c:Ljava/lang/String;
      intermediary field_8040 Lnet/minecraft/class_1872;field_8040:Ljava/lang/String;
      named name Lnet/minecraft/client/gl/ShaderEffect;name:Ljava/lang/String;
    • passes

      private final List passes
      Mappings:
      Namespace Name Mixin selector
      official d Lctg;d:Ljava/util/List;
      intermediary field_8041 Lnet/minecraft/class_1872;field_8041:Ljava/util/List;
      named passes Lnet/minecraft/client/gl/ShaderEffect;passes:Ljava/util/List;
    • targetsByName

      private final Map targetsByName
      Mappings:
      Namespace Name Mixin selector
      official e Lctg;e:Ljava/util/Map;
      intermediary field_8042 Lnet/minecraft/class_1872;field_8042:Ljava/util/Map;
      named targetsByName Lnet/minecraft/client/gl/ShaderEffect;targetsByName:Ljava/util/Map;
    • defaultSizedTargets

      private final List defaultSizedTargets
      Mappings:
      Namespace Name Mixin selector
      official f Lctg;f:Ljava/util/List;
      intermediary field_8043 Lnet/minecraft/class_1872;field_8043:Ljava/util/List;
      named defaultSizedTargets Lnet/minecraft/client/gl/ShaderEffect;defaultSizedTargets:Ljava/util/List;
    • field_11186

      private javax.vecmath.Matrix4f field_11186
      Mappings:
      Namespace Name Mixin selector
      official g Lctg;g:Ljavax/vecmath/Matrix4f;
      intermediary field_11186 Lnet/minecraft/class_1872;field_11186:Ljavax/vecmath/Matrix4f;
      named field_11186 Lnet/minecraft/client/gl/ShaderEffect;field_11186:Ljavax/vecmath/Matrix4f;
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      official h Lctg;h:I
      intermediary field_8045 Lnet/minecraft/class_1872;field_8045:I
      named width Lnet/minecraft/client/gl/ShaderEffect;width:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      official i Lctg;i:I
      intermediary field_8046 Lnet/minecraft/class_1872;field_8046:I
      named height Lnet/minecraft/client/gl/ShaderEffect;height:I
    • time

      private float time
      Mappings:
      Namespace Name Mixin selector
      official j Lctg;j:F
      intermediary field_8047 Lnet/minecraft/class_1872;field_8047:F
      named time Lnet/minecraft/client/gl/ShaderEffect;time:F
    • lastTickDelta

      private float lastTickDelta
      Mappings:
      Namespace Name Mixin selector
      official k Lctg;k:F
      intermediary field_8048 Lnet/minecraft/class_1872;field_8048:F
      named lastTickDelta Lnet/minecraft/client/gl/ShaderEffect;lastTickDelta:F
  • Constructor Details

    • ShaderEffect

      public ShaderEffect(TextureManager textureManager, ResourceManager resourceManager, Framebuffer frameBuffer, Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lctg;<init>(Lcug;Lcvk;Lckw;Loa;)V
      intermediary <init> Lnet/minecraft/class_1872;<init>(Lnet/minecraft/class_1532;Lnet/minecraft/class_1654;Lnet/minecraft/class_1862;Lnet/minecraft/class_1653;)V
      named <init> Lnet/minecraft/client/gl/ShaderEffect;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • method_6947

      public void method_6947(TextureManager textureManager, Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Lcug;Loa;)V
      intermediary method_6947 Lnet/minecraft/class_1872;method_6947(Lnet/minecraft/class_1532;Lnet/minecraft/class_1653;)V
      named method_6947 Lnet/minecraft/client/gl/ShaderEffect;method_6947(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/Identifier;)V
    • parseTarget

      private void parseTarget(JsonElement jsonTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Lcom/google/gson/JsonElement;)V
      intermediary method_6949 Lnet/minecraft/class_1872;method_6949(Lcom/google/gson/JsonElement;)V
      named parseTarget Lnet/minecraft/client/gl/ShaderEffect;parseTarget(Lcom/google/gson/JsonElement;)V
    • method_6948

      private void method_6948(TextureManager textureManager, JsonElement jsonElement)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Lcug;Lcom/google/gson/JsonElement;)V
      intermediary method_6948 Lnet/minecraft/class_1872;method_6948(Lnet/minecraft/class_1532;Lcom/google/gson/JsonElement;)V
      named method_6948 Lnet/minecraft/client/gl/ShaderEffect;method_6948(Lnet/minecraft/client/texture/TextureManager;Lcom/google/gson/JsonElement;)V
    • parseUniform

      private void parseUniform(JsonElement jsonUniform)
      Mappings:
      Namespace Name Mixin selector
      official b Lctg;b(Lcom/google/gson/JsonElement;)V
      intermediary method_6954 Lnet/minecraft/class_1872;method_6954(Lcom/google/gson/JsonElement;)V
      named parseUniform Lnet/minecraft/client/gl/ShaderEffect;parseUniform(Lcom/google/gson/JsonElement;)V
    • getSecondaryTarget

      public Framebuffer getSecondaryTarget(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Ljava/lang/String;)Lckw;
      intermediary method_10309 Lnet/minecraft/class_1872;method_10309(Ljava/lang/String;)Lnet/minecraft/class_1862;
      named getSecondaryTarget Lnet/minecraft/client/gl/ShaderEffect;getSecondaryTarget(Ljava/lang/String;)Lnet/minecraft/client/gl/Framebuffer;
    • addTarget

      public void addTarget(String name, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Ljava/lang/String;II)V
      intermediary method_6951 Lnet/minecraft/class_1872;method_6951(Ljava/lang/String;II)V
      named addTarget Lnet/minecraft/client/gl/ShaderEffect;addTarget(Ljava/lang/String;II)V
    • disable

      public void disable()
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a()V
      intermediary method_6944 Lnet/minecraft/class_1872;method_6944()V
      named disable Lnet/minecraft/client/gl/ShaderEffect;disable()V
    • addPass

      public PostProcessShader addPass(String programName, Framebuffer source, Framebuffer dest)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(Ljava/lang/String;Lckw;Lckw;)Lcth;
      intermediary method_6952 Lnet/minecraft/class_1872;method_6952(Ljava/lang/String;Lnet/minecraft/class_1862;Lnet/minecraft/class_1862;)Lnet/minecraft/class_1873;
      named addPass Lnet/minecraft/client/gl/ShaderEffect;addPass(Ljava/lang/String;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/client/gl/PostProcessShader;
    • setupProjectionMatrix

      private void setupProjectionMatrix()
      Mappings:
      Namespace Name Mixin selector
      official c Lctg;c()V
      intermediary method_6955 Lnet/minecraft/class_1872;method_6955()V
      named setupProjectionMatrix Lnet/minecraft/client/gl/ShaderEffect;setupProjectionMatrix()V
    • setupDimensions

      public void setupDimensions(int targetsWidth, int targetsHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(II)V
      intermediary method_6946 Lnet/minecraft/class_1872;method_6946(II)V
      named setupDimensions Lnet/minecraft/client/gl/ShaderEffect;setupDimensions(II)V
    • render

      public void render(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lctg;a(F)V
      intermediary method_6945 Lnet/minecraft/class_1872;method_6945(F)V
      named render Lnet/minecraft/client/gl/ShaderEffect;render(F)V
    • getName

      public final String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lctg;b()Ljava/lang/String;
      intermediary method_6953 Lnet/minecraft/class_1872;method_6953()Ljava/lang/String;
      named getName Lnet/minecraft/client/gl/ShaderEffect;getName()Ljava/lang/String;
    • getTarget

      private Framebuffer getTarget(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Lctg;b(Ljava/lang/String;)Lckw;
      intermediary method_6950 Lnet/minecraft/class_1872;method_6950(Ljava/lang/String;)Lnet/minecraft/class_1862;
      named getTarget Lnet/minecraft/client/gl/ShaderEffect;getTarget(Ljava/lang/String;)Lnet/minecraft/client/gl/Framebuffer;