Posted August 14, 20196 yr 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.?
August 14, 20196 yr On 8/14/2019 at 9:14 PM, andGarrett said: registry name, Just this 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.
August 15, 20196 yr Author On 8/14/2019 at 9:46 PM, 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".
August 15, 20196 yr 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.
August 15, 20196 yr Author On 8/15/2019 at 12:47 AM, 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?
August 15, 20196 yr On 8/15/2019 at 12:57 AM, 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.
August 15, 20196 yr Author On 8/15/2019 at 1:31 AM, Animefan8888 said: ("minecraft:coal_ore") or ("minecraft", "coal_ore") Thank you, that worked!
August 15, 20196 yr 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.
August 15, 20196 yr Author On 8/15/2019 at 2:57 AM, 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.
August 15, 20196 yr 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.