Jump to content

(1.12.2) How can I register blocks/items...?


Recommended Posts

Posted (edited)

Hi, guys!:D I am learning programming with Forge, and I have a problem...? In the old Forge versions, I used GameRegistry.register... methods to register blocks/items, but I am a noob on programming with the new Forge 1.12.2 (Recommended Version). Pls help me.

 

EDIT:

I researched and found out that we have to use a RegistryEvent.register<T> method..., but how?

Edited by DPaulModz
Edit Update
Posted

this depends on whether you are using JSON or TESR rendering (note TESR isn't the best way (use this only for dynamic model)

Always looking for new challenges, and happy to help the people where ever I can

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.