Jump to content

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


DPaulModz

Recommended Posts

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
Link to comment
Share on other sites

https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample

 

I personally think this is a great resource for learning and reading into code. I don't know if there is a video guide too it, but the code itself is quite good and documented. Maybe worth a look.

 

EDIT: Take a look at the Notes.txt - They are quite good.

Edited by SatyPardus
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.