Jump to content

Recommended Posts

Posted

So I am trying to adding the optifine mod to my development environment but I struggled on it. I tried different methods but it doesn't work.

I'm trying to add the optifine by using optifine src. 

And also, I'm using intellij.

Helps please.

Learning forge modding right now!

Posted

It doesn't work 

  Reveal hidden contents

 

Learning forge modding right now!

Posted

Most I can find is this comment in the devtweaker's source

  Quote

// this requires the jar to be loaded by FML before OptiFine, the easiest way to do it is to name it aa_SomeJar

Expand  

If that doesn't work you could open an issue on their github. 

Also pinging @Cadiboo since they managed to get it working.

  • Like 1
Posted (edited)

How did you build the jar? Are you using the --all version?

Edited by Cadiboo

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Try building it with ./gradlew build

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
  Reveal hidden contents

@Cadiboo I tried the --all version. And this is what I got,

Edited by Womas

Learning forge modding right now!

Posted

Do you also have Optifine installed?

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

I have my optifine installed only in the playable forge launcher but not the development environment. But I have the other source and normal tweaker jar in the build lib.

Learning forge modding right now!

Posted (edited)

The tweaker modifies Optifine (which is loaded from the /run/mods folder in your dev workspace) to run in a deobfuscated environment.

 

  On 11/17/2018 at 12:13 AM, Cadiboo said:

You can get a decompiled version of Optifine to use as a library by remapping the Optifine jar using simpledeobf with this command (for OSX)

  Reveal hidden contents

(You can also add --forcePublic to the end to make all methods public in the dev version)

 

You can view the source code of Optifine by decompiling the "dev" jar you just made with your preferred decompiler (I use Bytecode-Viewer with FernFlower because it spits it out as a normal zip)

 

You can run Optifine in your dev workspace by placing it and the OptiFineDevTweaker mod into your run/mods folder.

Expand  
Edited by Cadiboo
added quote

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

So I need to put my tweaker with the decompiled Optifine jar by using simpledeobf in the run/mod folder?

Learning forge modding right now!

Posted

No, you just need normal Optifine & the tweaker to run it. If you want to write code that references it, you'll need to (de)compile a library version of it with simpledeobf

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

while it failed again, but I feel like this time is better 

  Reveal hidden contents

Btw I'm using the --all jar and Optifine 1.8.8_HD_U_H8 version. Got them in the mod folder

Learning forge modding right now!

Posted

Alright guys. I finally got it to work. I changed the optifine version and it worked out! Thx for your help and patients!

Learning forge modding right now!

  • 1 year later...
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I can't figure out if you're looking for help trying to steal someone elses work, or cheat at the game....
    • Title: Why Is It So Hard to Rename and Restructure Mods Like Xray or AntiXray? 🤔 Post text: Hey everyone! I’ve been digging into Minecraft modding for a while and have one big question that I can’t figure out on my own. Maybe someone with more experience could help or give me some advice. Here’s the issue: When I take a “normal” Minecraft mod — for example, one that just adds some blocks or new items — I can easily change its structure, package names, or even rebrand it entirely. It’s straightforward. But as soon as I try this with cheat-type mods like XrayMod or AntiXray, everything falls apart. Even if I just rename the classes, refactor the packages, or hide its identity somehow, the mod either breaks or stops working properly. XrayMod in particular is proving to be a nightmare to modify without losing its core function. So my question is — why is this so much harder with cheat mods like Xray? Is there something fundamentally different about how they’re coded, loaded, or protected that prevents simple renaming or restructuring? And if so, how can I actually learn to understand someone else’s cheat mod enough to safely refactor it without breaking the core features? I’ve already been spending over two months trying to figure this out and haven’t gotten anywhere. It feels like there must be some trick or knowledge I’m missing. Would really appreciate any thoughts, tips, or references — maybe there are guides or techniques for understanding cheat-mod internals? Or if you’ve successfully “disguised” a cheat mod like Xray before, I’d love to hear how you did it. Thanks in advance for any help or discussion. ✌️
    • just started making cinamatic contect check it out on my channel or check out my facebook page    Humbug City Minecraft Youtube https://www.youtube.com/watch?v=v2N6OveKwno https://www.facebook.com/profile.php?id=61575866982337  
    • Where did you get the schematic? Source/Link? And do use an own modpack or a pre-configured from curseforge? If yes, which one On a later time, I can make some tests on my own - but I need the schematic and the modpack name
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.