Java .Class file change string

后端 未结 4 1542
耶瑟儿~
耶瑟儿~ 2021-01-18 07:05

I\'m trying to modify a minecraft mod (gravisuite) that puts \"Gravitation Engine OFF/ON\" whenever I press F, however I want to change this string, I started with replacing

4条回答
  •  离开以前
    2021-01-18 07:44

    A jar file is a zip file of classes, I guess you've figured that out already. Your best best is to load up a a java IDE with a decompiler addon (pretty sure Intellij has this built in). Once you've decompiled you can change the generated source and recompile it.

    This isn't trivial java stuff, but it's not so complicated either. If you've done some java project development before it's not so hard.

提交回复
热议问题