Harleyoc1 / ChunkAnimator

Minecraft mod that animates the appearance of chunks.
MIT License
19 stars 3 forks source link

OptiFine Compatibility #3

Closed Harleyoc1 closed 3 years ago

Harleyoc1 commented 3 years ago

This issue is specifically for any problems with OptiFine. Please keep any OptiFine-related problems/bugs to this issue only.

Render Regions

Due to OptiFine’s render regions setting using a different method of rendering chunks, unfortunately I have been unable to add support for it (as of right now at least). This means that chunks will not be animated unless ofRenderRegions is set to false, so please check you have set this before asking anything here.

This setting can be found under the Performance screen in Video Settings, or as ofRenderRegions in the optionsof.txt in your Minecraft directory.

Other Problems

If you experience any other problems with OptiFine, please make sure you have render regions off (see above), and that you are on the latest versions for Forge, OptiFine, and Chunk Animator for your Minecraft version. After checking this if it still doesn’t work please feel free to detail your problem as a comment to this issue.

caeserlettuce commented 2 years ago

Hi! i'm getting an error when using chunk animator 1.19 version 1.3.4. I'm using Optifine preview 1.19 pre7, and forge 41.0.63

Here's my launcher error:

Screenshot_20220706_123441

and here's my latest.log:

[06Jul2022 12:34:24.067] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, tatoosh, --version, 1.19-forge-41.0.63, --gameDir, /home/jesse/.minecraft/.minecraft-1-19, --assetsDir, /home/jesse/.minecraft/assets, --assetIndex, 1.19, --uuid, 3a3aa824bbe341ff8fcf8eb36ee73974, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, osmvbqucdt6DIHHsSn+jsD7mBppE+ZYOg1XZ80iZvvUl38XUw0GhBzffraTr7Z6S, --xuid, 2535410404235448, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 41.0.63, --fml.mcVersion, 1.19, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220607.102129]
[06Jul2022 12:34:24.073] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.1+10.0.1+main.e9521dc3 starting: java version 17.0.3 by Microsoft; OS Linux arch amd64 version 5.16.5-100.fc34.x86_64
[06Jul2022 12:34:24.243] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[06Jul2022 12:34:24.245] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: union:/home/jesse/.minecraft/.minecraft-1-19/mods/preview_OptiFine_1.19_HD_U_H8_pre7.jar%23140!/
[06Jul2022 12:34:24.250] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: /home/jesse/.minecraft/.minecraft-1-19/mods/preview_OptiFine_1.19_HD_U_H8_pre7.jar
[06Jul2022 12:34:24.252] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available
[06Jul2022 12:34:24.315] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/jesse/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2385!/ Service=ModLauncher Env=CLIENT
[06Jul2022 12:34:24.325] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[06Jul2022 12:34:24.646] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/jesse/.minecraft/libraries/net/minecraftforge/fmlcore/1.19-41.0.63/fmlcore-1.19-41.0.63.jar is missing mods.toml file
[06Jul2022 12:34:24.648] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/jesse/.minecraft/libraries/net/minecraftforge/javafmllanguage/1.19-41.0.63/javafmllanguage-1.19-41.0.63.jar is missing mods.toml file
[06Jul2022 12:34:24.650] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/jesse/.minecraft/libraries/net/minecraftforge/lowcodelanguage/1.19-41.0.63/lowcodelanguage-1.19-41.0.63.jar is missing mods.toml file
[06Jul2022 12:34:24.651] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/jesse/.minecraft/libraries/net/minecraftforge/mclanguage/1.19-41.0.63/mclanguage-1.19-41.0.63.jar is missing mods.toml file
[06Jul2022 12:34:24.730] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[06Jul2022 12:34:25.502] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[06Jul2022 12:34:25.516] [main/INFO] [optifine.OptiFineTransformer/]: Targets: 373
[06Jul2022 12:34:26.267] [main/INFO] [optifine.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[06Jul2022 12:34:27.009] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [lumien.chunkanimator.MixinConnector]
[06Jul2022 12:34:27.038] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[06Jul2022 12:34:27.039] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, 1.19-forge-41.0.63, --gameDir, /home/jesse/.minecraft/.minecraft-1-19, --assetsDir, /home/jesse/.minecraft/assets, --uuid, 3a3aa824bbe341ff8fcf8eb36ee73974, --username, tatoosh, --assetIndex, 1.19, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, osmvbqucdt6DIHHsSn+jsD7mBppE+ZYOg1XZ80iZvvUl38XUw0GhBzffraTr7Z6S, --xuid, 2535410404235448, --userType, msa, --versionType, release]
[06Jul2022 12:34:27.993] [main/ERROR] [mixin/]: Critical injection failure: LVT in net/minecraft/client/renderer/LevelRenderer::m_172993_(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLcom/mojang/math/Matrix4f;)V has incompatible changes at opcode 795 in callback chunkanimator.optifine.mixins.json:OptiFineLevelRendererMixin->@Inject::preRenderChunk(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLcom/mojang/math/Matrix4f;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;ZZLit/unimi/dsi/fastutil/objects/ObjectListIterator;Lcom/mojang/blaze3d/vertex/VertexFormat;Lnet/minecraft/client/renderer/ShaderInstance;Lcom/mojang/blaze3d/shaders/Uniform;ZZLnet/minecraft/client/renderer/LevelRenderer$RenderChunkInfo;Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;Lcom/mojang/blaze3d/vertex/VertexBuffer;Lnet/minecraft/core/BlockPos;)V.
 Expected: [Z, Z, Lit/unimi/dsi/fastutil/objects/ObjectListIterator;, Lcom/mojang/blaze3d/vertex/VertexFormat;, Lnet/minecraft/client/renderer/ShaderInstance;, Lcom/mojang/blaze3d/shaders/Uniform;, Z, Z, Lnet/minecraft/client/renderer/LevelRenderer$RenderChunkInfo;, Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;, Lcom/mojang/blaze3d/vertex/VertexBuffer;, Lnet/minecraft/core/BlockPos;]
    Found: [Z, Z, Lit/unimi/dsi/fastutil/objects/ObjectListIterator;, Lnet/minecraft/client/renderer/ShaderInstance;, Lcom/mojang/blaze3d/shaders/Uniform;, Z, Lnet/minecraft/client/renderer/LevelRenderer$RenderChunkInfo;, Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;, Lcom/mojang/blaze3d/vertex/VertexBuffer;, Lnet/minecraft/core/BlockPos;, Ljava/util/Map;, Ljava/util/List;]
Available: [Z, Z, Lit/unimi/dsi/fastutil/objects/ObjectListIterator;, Lnet/minecraft/client/renderer/ShaderInstance;, Lcom/mojang/blaze3d/shaders/Uniform;, Z, Lnet/minecraft/client/renderer/LevelRenderer$RenderChunkInfo;, Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;, Lcom/mojang/blaze3d/vertex/VertexBuffer;, Lnet/minecraft/core/BlockPos;, Ljava/util/Map;, Ljava/util/List;, Ljava/util/Iterator;, Ljava/util/Map$Entry;, Lnet/optifine/util/PairInt;, Ljava/util/Map;, Ljava/util/Iterator;, Ljava/util/Map$Entry;, Lnet/optifine/render/VboRegion;, Ljava/util/List;, Ljava/util/Iterator;, Lcom/mojang/blaze3d/vertex/VertexBuffer;]
prplelemonade commented 2 years ago

Latest release for 1.19 and 1.19.1 doesn't work with optifine installed. Crashes immediately. Please fix.