Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Fabric doesn't see Optifabric jar (20w27a) #244

Open
Stardelis opened this issue Jul 8, 2020 · 6 comments
Open

Fabric doesn't see Optifabric jar (20w27a) #244

Stardelis opened this issue Jul 8, 2020 · 6 comments

Comments

@Stardelis
Copy link

I have fabric loader for the snapshot 20w27a, but it game crashes with error that "Optifabric is required"
I'm using beta 2. If I delete optifabric from the mod folder - game starts - but there's no optifine
image

@Rambopro5
Copy link

Rambopro5 commented Jul 8, 2020

Check in your download folder that there isnt another preview json for optifine, thats the one you need to copy to the mod folder

@ghost
Copy link

ghost commented Jul 8, 2020

But wait...
Does OptiFabric supports 20w27a?
I think it doesn't and that may be your problem

@Stardelis
Copy link
Author

I have preview optifine pre2. I assume it's latest one

Check in your download folder that there isnt another preview json for optifine, thats the one you need to copy to the mod folder

I have preview_OptiFine_1.16.1_HD_U_G2_pre2 I assume it's the latest one....
It kinda works if I replace it to 1.16, not 20w27a/
Which is 20w28a now

@cs127
Copy link

cs127 commented Jul 9, 2020

It doesn't say "Optifabric is required". It actually does see the optifabric jar. If you read carefully, you can see that it says "Optifabric requires minecraft 1.16.1".
You CAN remove the minecraft 1.16.1 dependency in the fabric.mod.json inside the optifabric jar, which makes optifabric able to run on 20w27/28, but it will crash, because optifine wasn't designed for 1.16.2.

@Stardelis
Copy link
Author

It doesn't say "Optifabric is required". It actually does see the optifabric jar. If you read carefully, you can see that it says "Optifabric requires minecraft 1.16.1".
You CAN remove the minecraft 1.16.1 dependency in the fabric.mod.json inside the optifabric jar, which makes optifabric able to run on 20w27/28, but it will crash, because optifine wasn't designed for 1.16.2.

I tried to do what you just said. A deleted all "Dependency", the game launched with an error just like you said.
i'm thinking there would be not much difference between 1.16.1 and 20w27a, so.
Is it possible to bypass Dependency on optifine.
I think I installed it for the snapshot, is dependency in "Optifabric jar" or "Optifine jar"?

@cs127
Copy link

cs127 commented Jul 10, 2020

It doesn't say "Optifabric is required". It actually does see the optifabric jar. If you read carefully, you can see that it says "Optifabric requires minecraft 1.16.1".
You CAN remove the minecraft 1.16.1 dependency in the fabric.mod.json inside the optifabric jar, which makes optifabric able to run on 20w27/28, but it will crash, because optifine wasn't designed for 1.16.2.

I tried to do what you just said. A deleted all "Dependency", the game launched with an error just like you said.
i'm thinking there would be not much difference between 1.16.1 and 20w27a, so.
Is it possible to bypass Dependency on optifine.
I think I installed it for the snapshot, is dependency in "Optifabric jar" or "Optifine jar"?

As far as I know, optifine won't be able to run on 1.16.2.
Removing the dependency might work, but there's a really low chance. This is how you do it:
In the fabric.mod.json file inside the optifabric jar, there is a dependency section like this:

  "depends": {
    "fabricloader": "\u003e\u003d0.8.8",
    "minecraft": "1.16.1"
  },

You should remove the "minecraft": "1.16.1" dependency, so that it looks like this:

  "depends": {
    "fabricloader": "\u003e\u003d0.8.8"
  },

That won't cause the dependency error anymore, but again, I'm pretty sure the game will crash, because optifine isn't really a "forwards-comaptible" mod.
If it works, it works. If it doesn't, you'll have to wait for the full release of 1.16.2 and optifine for 1.16.2.

lordofpipes pushed a commit to lordofpipes/OptiFabric that referenced this issue Mar 12, 2022
Specifically aimed at the keyboard handling ones
Fixes modmuss50#238
Fixes modmuss50#244
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants