Decompile, change and compile a classfile in minecraft.java

Discussion in 'Plugin Development' started by iasnq, Mar 10, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    iasnq

    hi all, how to change any class in minecraft.jar and recompile (replace in minecraft.jar) or any class in plugin
     
  2. Online

    timtower Administrator Administrator Moderator

    @iasnq What do you want to change?
     
  3. Offline

    iasnq

    function in Minecraft.class
     
  4. Online

    timtower Administrator Administrator Moderator

    What function? What does it do? Why can't a plugin do it?
    As you are in a place for plugin development, not changing the original jar
     
  5. Offline

    iasnq

    I'm not writing a mod as a separate plugin, I want to change the classes of mincraft client and recompile them, I mean patch the original client, but then I have to decompile -> change what I need (whether it's a variable or a new function, anything) and -> compile -> start minecraft

    I know people who do this, but how do they recompile their classes after making changes so that the class compiles without errors.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Mar 18, 2023
  6. Online

    timtower Administrator Administrator Moderator

    Locked
    Bukkit is for plugins, not for mods, certainly not for patching the normal jar.
     
Thread Status:
Not open for further replies.

Share This Page