• 0

    posted a message on My MCP modded client doesn't work; merged with Optifine. (How to recompile Optifine?)

    I simply installed Optifine by downloading a jar from optifine.net, then using the jar downloaded to install the client/launcher profile. The installer jar with the Extract, Install, and Cancel options.

    Posted in: Modification Development
  • 0

    posted a message on What are helpful resources for converting Xbox 360 worlds to Minecraft Java Edition worlds on a mac?

    This is annoying how the only tutorials I find online about converting old xbox 360 worlds to java edition is involving apps for Window. I've tried Wine and then Horizon is marked for being Malware so I avoid that, I cannot find any helpful apps, what are helpful resources for converting xbox 360 worlds to pc/mac?

    Ideas such as using VM's are not a good idea since I'm not gonna download a Windows VM, a VM, just for this one task. I want to do it easily on a mac. VMs are large in file size.

    Posted in: Discussion
  • 0

    posted a message on My MCP modded client doesn't work; merged with Optifine. (How to recompile Optifine?)

    I did NOT run updateMD5.sh (not gonna lie I didn't know what that did) after, so here's what I did after seeing your post:


    ran decompile.sh

    replace /src/minecraft with optifine's contents

    ran updatemd5.sh

    edited files

    recompile.sh

    startclient.sh

    reobfuscate.sh


    that outputted just a few files, which is what I wanted.

    I paste the modified classes onto Optifine's C6 unzipped jar / folder, move the classes and replace. Then convert back into a jar. Running the client gave off a

    java.lang.NoSuchFieldError: fontRendererObj
    	at blr.b(GuiMainMenu.java:220)
    	at blk.a(SourceFile:363)
    	at bib.a(SourceFile:937)
    	at bib.aq(SourceFile:562)
    	at bib.a(SourceFile:404)
    	at net.minecraft.client.main.Main.main(SourceFile:123)

    and instant crash- I removed the META-INF folder.

    Posted in: Modification Development
  • 0

    posted a message on My MCP modded client doesn't work; merged with Optifine. (How to recompile Optifine?)

    Alright; so I'm making a modification to Minecraft where everyone's steve. This is hard to explain the situation but I'll try as best to explain:
    I downloaded Optifine's decompiled code from OptifineSources.co.uk and this guide to setup MCP for newer versions. I then decompile VANILLA minecraft, let that run through and run cleanup.sh. (Decompile.sh doesn't work because of this!) I unzip Optifine's code and put it in SRC, and begin editing a few files, these involve

    net/minecraft/client/entity/AbstractClientPlayer.java
    net/minecraft/client/resources/DefaultPlayerSkin.java
    net/minecraft/client/resources/SkinManager.java
    net/minecraft/client/ClientBrandRetriever.java



    to set everyone's skin to the default, steve type, and to make it so Minecraft CANNOT get anyone's skin. I run recompile.sh then startclient.sh, and I guess it works, so reobfuscate.sh it is. This is where problems begin. The two biggest problems are the JSON file, which I got down, how to actually compile the jar, which is

    jar cvf jarname.jar -C foldername/ .



    I've tried things such as a...

    • Vanilla 1.12.2 Base, Copy and paste modified class files from above; keep in mind that I have to paste a few extra class files under the net folder& removed META-INF
    • Optifine 1.12.2 C6 base, Copy and paste modified class files.
    • Class files, Optifine

    I was playing around with a lot of variables, and the most stablest I could get was where Optifine was ABLE to get in, but under options, video settings was this:



    So when you hover about long enough, where an Optifine tooltip is SUPPOSED to appear, the game pulls the dirtblock screen of death then crashes.

    I can't remember which result mixed with which, but I remember grabbing the specific classes, such as bua (i think?) cex, and cef. Adding these classes into a regular optifine client, zipping up (using the jar command) then running these resulted in Vanilla Minecraft, no Optifine; WTF? When I went onto multiplayer for both results, the mod worked perfectly, albeit Optifine didn't work well. Everyone defaulted to the regular steve skin, no alex's, no custom skins available.


    TL;DR, My mod works, but Optifine won't come through and if it does it doesn't work as intended! How do I make Optifine work properly with my client mod? It's quite hard to recompile and decompile Optifine, then modify it.


    Some extra things, after a large amount of tries, I went to /runtime/reobfuscate.py and changed this line

        parser.add_option('-a', '--all', action='store_true', dest='reobf_all', help='output all classes', default=False)


    to

     parser.add_option('-a', '--all', action='store_true', dest='reobf_all', help='output all classes', default=True)

    so I get ALL the class files, this didn't work either. What can I do to fix this? (I do not use Forge because it takes quite a while to boot up, and a client with what I want PLUS optifine works out for me)

    Posted in: Modification Development
  • 0

    posted a message on Making a Resource Pack

    So, I'm making a resource pack and when I was trying to make a block with transparent pixels on it, heres what showed up. I was remodeling a resource pack. This is a packed ice block. I was wondering why it didn't work. Why doesn't it work?

    Posted in: Resource Pack Help
  • 0

    posted a message on Command Block Setting a Pre-Filled command block?

    I want to know if you can make a command block set a command block, that already has a command in it. I'd like to know how to do it and what the command for it is. I am making a RNG in MC and this helps me.

    Posted in: Discussion
  • To post a comment, please or register a new account.