Jump to content

Suggestions for Migrating from 1.12.2 to 1.14.4


Millerni456

Recommended Posts

Hello!

 

I'm still quite new to the modding community and am looking for some guidance on how to best migrate my two mods from 1.12.2 to 1.14.4.

I began migrating by doing a file-by-file comparison on my project with the latest MDK and found several differences, especially with respect to the build.gradle.

 

The good news is that I was able to get the new workspace setup properly; however, I've come to realize that much of the APIs have changed, causing a significant portion of my mod to break.

Below are some of the things my mod was doing that can no longer build with the new APIs:

  • Custom world generation by creating new ore veins in the overworld & nether.
  • Custom furnace block capable of smelting new ores (full with a custom user interface & tile entity data).
  • Many new weapons & tools.
  • Custom armor.
  • Crafting recipes.
  • Custom entities.
     

From what I can tell, it looks like some of the forge code has temporarily removed some APIs (e.g. see the ModelLoader class) until things are worked out. And it also appears that the documentation is not yet up to date.

 

Does anyone have any suggestions or good reference material to help me learn what I need to perform this migration?

Perhaps if anyone knows of any mods with publicly available source code that does some of the above, I may be able to glean some insight on how I can migrate.

Otherwise, I'm curious to know what the status of 1.14 for Forge is, does anyone know if official documentation is on its way or whether we need to be concerned about temporarily removed APIs?

 

 

 

 

 

Link to comment
Share on other sites

11 minutes ago, Millerni456 said:

whether we need to be concerned about temporarily removed APIs?

If you can list more APIs that have been removed would be a good place to start.

 

12 minutes ago, Millerni456 said:

Custom world generation by creating new ore veins in the overworld & nether.

You've gotta use the new Features system there are quite a few posts on here already about ore generation and structure generation.

 

13 minutes ago, Millerni456 said:

Custom furnace block capable of smelting new ores (full with a custom user interface & tile entity data).

From what I know not much about TEs has changed just the way they are registered. They finally have a registry event where you register a TileEntityType. GUIs are now called Screens and they need to be registered with the ScreenManager class. Containers also have a registry now where you register types ContainerType.

15 minutes ago, Millerni456 said:
  •  Many new weapons & tools.
  • Custom armor.

Not sure what you are having a problem with here besides the ToolMaterial and ArmorMaterial changes. There are now interfaces that are used instead of EnumHelper. For tools in particular create an enum that implements IItemTier(I think that's the name).

 

17 minutes ago, Millerni456 said:

Custom entities.

I dont know what has changed here. What problems are you having?

 

17 minutes ago, Millerni456 said:

(e.g. see the ModelLoader class)

No need for most of it, the flattening removed the need to register models. They are all registered automatically now based on the registry name.

 

18 minutes ago, Millerni456 said:

Does anyone have any suggestions or good reference material to help me learn what I need to perform this migration?

Yes here.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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