Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I want to change how ore blocks work. I know I need to do something along the lines of creating my own block stuff with the same name, but I don't know all the details. what parts need to have the same name as the blocks I want to change? Class name, registry name, block states, etc.?

  • Author
2 hours ago, Animefan8888 said:

Just this

I tried setting the registry name in a block class via setRegistryName("coal_ore");. that didn't do it. I tried setting all kinds of things to the same name as "coal_ore".

Registry names come in two parts.

You supplied half.

Forge automatically supplied the other half, which was wrong for what you're trying to do.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author
9 minutes ago, Draco18s said:

Registry names come in two parts.

You supplied half.

Forge automatically supplied the other half, which was wrong for what you're trying to do.

how do I supply the other half or otherwise do what needs to be done?

33 minutes ago, andGarrett said:

how do I supply the other half or otherwise do what needs to be done?

("minecraft:coal_ore") or ("minecraft", "coal_ore")

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.

  • Author
47 minutes ago, Animefan8888 said:

("minecraft:coal_ore") or ("minecraft", "coal_ore")

Thank you, that worked!

Read: you can just go look at the class and its available constructors...

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author
17 hours ago, Draco18s said:

Read: you can just go look at the class and its available constructors...

I often do figure things out on my own, but I'm new to java and this is the first time I've done anything with forge. I find it difficult to understand how to work with new code, especially when there is so much of it. I've never worked with anything more complex than a simple swing program.

We're not java school. If you want to learn java, that's fine, just don't do it here.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.