I found a certain old mod that I like a lot, but unfortunately, its developement stopped (as in case of many mods) at 1.12. Because of that, I'm trying to reverse-engineer the mod using Java decompiler and update the mod myself, mostly just by renaming the Forge classes and methods that had been renamed to their current names. Unfortunately, I stumbled upon some words I can't figure out what they were changed for. For now, there are three such words: class NBTBase (net.minecraft.nbt.NBTBase), class Configuration (net.minecraftforge.common.config.Configuration) and method world.getPerWorldStorage, but I'm sure there will be more of them as I progress further with the code. Can anyone tell me what were these classes and method renamed to? Thanks a lot.
(Sorry for any grammar mistakes, English is not my first language)
UPDATE: I already figured out that class NBTBase has been replaced by interface INBT.
More classes I need to know the new name of: MapGenStructureData (net.minecraft.world.gen.structure.MapGenStructureData), EntityPlayerMP (net.minecraft.entity.player.EntityPlayerMP)
I found a certain old mod that I like a lot, but unfortunately, its developement stopped (as in case of many mods) at 1.12. Because of that, I'm trying to reverse-engineer the mod using Java decompiler and update the mod myself, mostly just by renaming the Forge classes and methods that had been renamed to their current names. Unfortunately, I stumbled upon some words I can't figure out what they were changed for. For now, there are three such words: class NBTBase (net.minecraft.nbt.NBTBase), class Configuration (net.minecraftforge.common.config.Configuration) and method world.getPerWorldStorage, but I'm sure there will be more of them as I progress further with the code. Can anyone tell me what were these classes and method renamed to? Thanks a lot.
(Sorry for any grammar mistakes, English is not my first language)
UPDATE: I already figured out that class NBTBase has been replaced by interface INBT.
More classes I need to know the new name of: MapGenStructureData (net.minecraft.world.gen.structure.MapGenStructureData), EntityPlayerMP (net.minecraft.entity.player.EntityPlayerMP)
Unfortunately just renaming classes is not enough while you are updating / downgrading mod versions, there were so many technical changes from 1.12.2 to 1.15.2. But using tools like BON2, you can get a really accurate appoxrimation of the mod's source code.
Rollback Post to RevisionRollBack
To people who says "It is not cool to repost mods": It is greatly cool and finding it uncool is oppressive, users are free to repost. #DefectiveByDesign #AntiCopyright
I will stay in mostly 1.7.10 and sometimes 1.12.2 until all bad up(!)dates get reverted.
My mod with manually registered ItemBlocks of technical blocks:
I'm glad someone finally answered to my question. But fortunately, with a bit of help from Forge forum, I already managed to update most of the mod code to 1.15.2. It helped a lot that large portion of the code served to backport stuff from 1.15.2 to 1.12.2, so I could just delete that code. The conversion is almost finished by now, there are just a few bugs to fix. I described one of them in a new thread.
Hello,
I found a certain old mod that I like a lot, but unfortunately, its developement stopped (as in case of many mods) at 1.12. Because of that, I'm trying to reverse-engineer the mod using Java decompiler and update the mod myself, mostly just by renaming the Forge classes and methods that had been renamed to their current names. Unfortunately, I stumbled upon some words I can't figure out what they were changed for. For now, there are three such words: class NBTBase (net.minecraft.nbt.NBTBase), class Configuration (net.minecraftforge.common.config.Configuration) and method world.getPerWorldStorage, but I'm sure there will be more of them as I progress further with the code. Can anyone tell me what were these classes and method renamed to? Thanks a lot.
(Sorry for any grammar mistakes, English is not my first language)
UPDATE: I already figured out that class NBTBase has been replaced by interface INBT.
More classes I need to know the new name of: MapGenStructureData (net.minecraft.world.gen.structure.MapGenStructureData), EntityPlayerMP (net.minecraft.entity.player.EntityPlayerMP)
Unfortunately just renaming classes is not enough while you are updating / downgrading mod versions, there were so many technical changes from 1.12.2 to 1.15.2. But using tools like BON2, you can get a really accurate appoxrimation of the mod's source code.
To people who says "It is not cool to repost mods": It is greatly cool and finding it uncool is oppressive, users are free to repost. #DefectiveByDesign #AntiCopyright
I will stay in mostly 1.7.10 and sometimes 1.12.2 until all bad up(!)dates get reverted.
My mod with manually registered ItemBlocks of technical blocks:
What the hell happened to minecraft?#Post6 - My opinions about new up(!)dates since 15w33c.
I'm glad someone finally answered to my question. But fortunately, with a bit of help from Forge forum, I already managed to update most of the mod code to 1.15.2. It helped a lot that large portion of the code served to backport stuff from 1.15.2 to 1.12.2, so I could just delete that code. The conversion is almost finished by now, there are just a few bugs to fix. I described one of them in a new thread.
Formatting bug after mod build - Modification Development - Minecraft Mods - Mapping and Modding: Java Edition - Minecraft Forum - Minecraft Forum
Still, thanks for reaction.