Skip to content

Commit

Permalink
minectaft
Browse files Browse the repository at this point in the history
  • Loading branch information
EDGtheXu committed Oct 19, 2024
1 parent 1ca0080 commit c1be812
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions src/main/java/org/confluence/mod/client/post/PostUtil.java
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
package org.confluence.mod.client.post;


import com.mojang.blaze3d.pipeline.MainTarget;
import com.mojang.blaze3d.pipeline.RenderTarget;
import com.mojang.blaze3d.platform.GlStateManager;
import net.minecraft.client.Minecraft;
import net.minecraft.stats.Stat;
import net.minecraft.world.entity.LivingEntity;
import org.confluence.mod.client.post.effect.Bloom;
import org.confluence.mod.client.post.effect.MotionBlur;
import org.confluence.mod.client.shader.ModRenderTypes;
import org.joml.Vector2f;

import java.util.*;
import java.util.function.Consumer;

//import static org.confluence.mod.client.renderer.entity.boss.CthulhuEyeRenderer.tempBlurTarget;
import static com.mojang.blaze3d.platform.GlStateManager.glBlendFuncSeparate;
import static org.lwjgl.opengl.GL11C.*;
import static org.lwjgl.opengl.GL13C.GL_TEXTURE0;

public class PostUtil {

public static boolean isFirstFrame = true; // 必须初始化一次
public static List<PostEffect> effects = new ArrayList<>();

public static Bloom bloom;
Expand Down Expand Up @@ -53,8 +45,6 @@ public static void init() {
}
}

public static boolean isFirstFrame = true; // 必须初始化一次

public static void addEffect(PostEffect effect){
effects.add(effect);
}
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/confluence.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"chunk.PalettedContainerAccessor",
"chunk.PalettedContainerMixin",
"chunk.ProtoChunkMixin",
"client.MinectaftMixin",
"entity.AbstractArrowMixin",
"entity.DamageTypeMixin",
"entity.EntityMixin",
Expand Down

0 comments on commit c1be812

Please sign in to comment.