Class PostEffectProcessor

java.lang.Object
net.minecraft.client.gl.PostEffectProcessor
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class PostEffectProcessor extends Object implements AutoCloseable
Mappings:
Namespace Name
official fdy
intermediary net/minecraft/class_279
named net/minecraft/client/gl/PostEffectProcessor
  • Field Details

    • MAIN_TARGET_NAME

      private static final String MAIN_TARGET_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a:Ljava/lang/String;
      intermediary field_32770 Lnet/minecraft/class_279;field_32770:Ljava/lang/String;
      named MAIN_TARGET_NAME Lnet/minecraft/client/gl/PostEffectProcessor;MAIN_TARGET_NAME:Ljava/lang/String;
    • mainTarget

      private final Framebuffer mainTarget
      Mappings:
      Namespace Name Mixin selector
      official b Lfdy;b:Lecq;
      intermediary field_1499 Lnet/minecraft/class_279;field_1499:Lnet/minecraft/class_276;
      named mainTarget Lnet/minecraft/client/gl/PostEffectProcessor;mainTarget:Lnet/minecraft/client/gl/Framebuffer;
    • resourceManager

      private final ResourceManager resourceManager
      Mappings:
      Namespace Name Mixin selector
      official c Lfdy;c:Lake;
      intermediary field_1502 Lnet/minecraft/class_279;field_1502:Lnet/minecraft/class_3300;
      named resourceManager Lnet/minecraft/client/gl/PostEffectProcessor;resourceManager:Lnet/minecraft/resource/ResourceManager;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Lfdy;d:Ljava/lang/String;
      intermediary field_1494 Lnet/minecraft/class_279;field_1494:Ljava/lang/String;
      named name Lnet/minecraft/client/gl/PostEffectProcessor;name:Ljava/lang/String;
    • passes

      private final List<PostEffectPass> passes
      Mappings:
      Namespace Name Mixin selector
      official e Lfdy;e:Ljava/util/List;
      intermediary field_1497 Lnet/minecraft/class_279;field_1497:Ljava/util/List;
      named passes Lnet/minecraft/client/gl/PostEffectProcessor;passes:Ljava/util/List;
    • targetsByName

      private final Map<String,Framebuffer> targetsByName
      Mappings:
      Namespace Name Mixin selector
      official f Lfdy;f:Ljava/util/Map;
      intermediary field_1495 Lnet/minecraft/class_279;field_1495:Ljava/util/Map;
      named targetsByName Lnet/minecraft/client/gl/PostEffectProcessor;targetsByName:Ljava/util/Map;
    • defaultSizedTargets

      private final List<Framebuffer> defaultSizedTargets
      Mappings:
      Namespace Name Mixin selector
      official g Lfdy;g:Ljava/util/List;
      intermediary field_1496 Lnet/minecraft/class_279;field_1496:Ljava/util/List;
      named defaultSizedTargets Lnet/minecraft/client/gl/PostEffectProcessor;defaultSizedTargets:Ljava/util/List;
    • projectionMatrix

      private Matrix4f projectionMatrix
      Mappings:
      Namespace Name Mixin selector
      official h Lfdy;h:Lorg/joml/Matrix4f;
      intermediary field_1498 Lnet/minecraft/class_279;field_1498:Lorg/joml/Matrix4f;
      named projectionMatrix Lnet/minecraft/client/gl/PostEffectProcessor;projectionMatrix:Lorg/joml/Matrix4f;
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      official i Lfdy;i:I
      intermediary field_1493 Lnet/minecraft/class_279;field_1493:I
      named width Lnet/minecraft/client/gl/PostEffectProcessor;width:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      official j Lfdy;j:I
      intermediary field_1492 Lnet/minecraft/class_279;field_1492:I
      named height Lnet/minecraft/client/gl/PostEffectProcessor;height:I
    • time

      private float time
      Mappings:
      Namespace Name Mixin selector
      official k Lfdy;k:F
      intermediary field_1501 Lnet/minecraft/class_279;field_1501:F
      named time Lnet/minecraft/client/gl/PostEffectProcessor;time:F
    • lastTickDelta

      private float lastTickDelta
      Mappings:
      Namespace Name Mixin selector
      official l Lfdy;l:F
      intermediary field_1500 Lnet/minecraft/class_279;field_1500:F
      named lastTickDelta Lnet/minecraft/client/gl/PostEffectProcessor;lastTickDelta:F
  • Constructor Details

    • PostEffectProcessor

      public PostEffectProcessor(TextureManager textureManager, ResourceManager resourceManager, Framebuffer framebuffer, Identifier id) throws IOException, JsonSyntaxException
      Throws:
      IOException
      JsonSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfdy;<init>(Lfom;Lake;Lecq;Lacf;)V
      intermediary <init> Lnet/minecraft/class_279;<init>(Lnet/minecraft/class_1060;Lnet/minecraft/class_3300;Lnet/minecraft/class_276;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/client/gl/PostEffectProcessor;<init>(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • parseEffect

      private void parseEffect(TextureManager textureManager, Identifier id) throws IOException, JsonSyntaxException
      Throws:
      IOException
      JsonSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(Lfom;Lacf;)V
      intermediary method_1256 Lnet/minecraft/class_279;method_1256(Lnet/minecraft/class_1060;Lnet/minecraft/class_2960;)V
      named parseEffect Lnet/minecraft/client/gl/PostEffectProcessor;parseEffect(Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/util/Identifier;)V
    • parseTarget

      private void parseTarget(JsonElement jsonTarget) throws InvalidHierarchicalFileException
      Throws:
      InvalidHierarchicalFileException
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(Lcom/google/gson/JsonElement;)V
      intermediary method_1265 Lnet/minecraft/class_279;method_1265(Lcom/google/gson/JsonElement;)V
      named parseTarget Lnet/minecraft/client/gl/PostEffectProcessor;parseTarget(Lcom/google/gson/JsonElement;)V
    • parsePass

      private void parsePass(TextureManager textureManager, JsonElement jsonPass) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(Lfom;Lcom/google/gson/JsonElement;)V
      intermediary method_1257 Lnet/minecraft/class_279;method_1257(Lnet/minecraft/class_1060;Lcom/google/gson/JsonElement;)V
      named parsePass Lnet/minecraft/client/gl/PostEffectProcessor;parsePass(Lnet/minecraft/client/texture/TextureManager;Lcom/google/gson/JsonElement;)V
    • parseUniform

      private void parseUniform(JsonElement jsonUniform) throws InvalidHierarchicalFileException
      Throws:
      InvalidHierarchicalFileException
      Mappings:
      Namespace Name Mixin selector
      official b Lfdy;b(Lcom/google/gson/JsonElement;)V
      intermediary method_1263 Lnet/minecraft/class_279;method_1263(Lcom/google/gson/JsonElement;)V
      named parseUniform Lnet/minecraft/client/gl/PostEffectProcessor;parseUniform(Lcom/google/gson/JsonElement;)V
    • getSecondaryTarget

      public Framebuffer getSecondaryTarget(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(Ljava/lang/String;)Lecq;
      intermediary method_1264 Lnet/minecraft/class_279;method_1264(Ljava/lang/String;)Lnet/minecraft/class_276;
      named getSecondaryTarget Lnet/minecraft/client/gl/PostEffectProcessor;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 Lfdy;a(Ljava/lang/String;II)V
      intermediary method_1261 Lnet/minecraft/class_279;method_1261(Ljava/lang/String;II)V
      named addTarget Lnet/minecraft/client/gl/PostEffectProcessor;addTarget(Ljava/lang/String;II)V
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • addPass

      public PostEffectPass addPass(String programName, Framebuffer source, Framebuffer dest) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(Ljava/lang/String;Lecq;Lecq;)Lfdz;
      intermediary method_1262 Lnet/minecraft/class_279;method_1262(Ljava/lang/String;Lnet/minecraft/class_276;Lnet/minecraft/class_276;)Lnet/minecraft/class_283;
      named addPass Lnet/minecraft/client/gl/PostEffectProcessor;addPass(Ljava/lang/String;Lnet/minecraft/client/gl/Framebuffer;Lnet/minecraft/client/gl/Framebuffer;)Lnet/minecraft/client/gl/PostEffectPass;
    • setupProjectionMatrix

      private void setupProjectionMatrix()
      Mappings:
      Namespace Name Mixin selector
      official b Lfdy;b()V
      intermediary method_1267 Lnet/minecraft/class_279;method_1267()V
      named setupProjectionMatrix Lnet/minecraft/client/gl/PostEffectProcessor;setupProjectionMatrix()V
    • setupDimensions

      public void setupDimensions(int targetsWidth, int targetsHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(II)V
      intermediary method_1259 Lnet/minecraft/class_279;method_1259(II)V
      named setupDimensions Lnet/minecraft/client/gl/PostEffectProcessor;setupDimensions(II)V
    • render

      public void render(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a(F)V
      intermediary method_1258 Lnet/minecraft/class_279;method_1258(F)V
      named render Lnet/minecraft/client/gl/PostEffectProcessor;render(F)V
    • getName

      public final String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lfdy;a()Ljava/lang/String;
      intermediary method_1260 Lnet/minecraft/class_279;method_1260()Ljava/lang/String;
      named getName Lnet/minecraft/client/gl/PostEffectProcessor;getName()Ljava/lang/String;
    • getTarget

      Mappings:
      Namespace Name Mixin selector
      official b Lfdy;b(Ljava/lang/String;)Lecq;
      intermediary method_1266 Lnet/minecraft/class_279;method_1266(Ljava/lang/String;)Lnet/minecraft/class_276;
      named getTarget Lnet/minecraft/client/gl/PostEffectProcessor;getTarget(Ljava/lang/String;)Lnet/minecraft/client/gl/Framebuffer;