diff --git a/src/main/java/org/confluence/mod/client/post/PostUtil.java b/src/main/java/org/confluence/mod/client/post/PostUtil.java index 1f7861c71..33786cac9 100644 --- a/src/main/java/org/confluence/mod/client/post/PostUtil.java +++ b/src/main/java/org/confluence/mod/client/post/PostUtil.java @@ -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 effects = new ArrayList<>(); public static Bloom bloom; @@ -53,8 +45,6 @@ public static void init() { } } - public static boolean isFirstFrame = true; // 必须初始化一次 - public static void addEffect(PostEffect effect){ effects.add(effect); } diff --git a/src/main/resources/confluence.mixins.json b/src/main/resources/confluence.mixins.json index 084a2999e..ff063972a 100644 --- a/src/main/resources/confluence.mixins.json +++ b/src/main/resources/confluence.mixins.json @@ -75,7 +75,6 @@ "chunk.PalettedContainerAccessor", "chunk.PalettedContainerMixin", "chunk.ProtoChunkMixin", - "client.MinectaftMixin", "entity.AbstractArrowMixin", "entity.DamageTypeMixin", "entity.EntityMixin",