Posted February 13, 20232 yr Hi, I am new to java and im making a mod that includes ore generation in 1.19.3, and i have followed the post from @CodingNoob52 that fixed his problem. However, the only thing he shared was the json files that he made. does anyone know how to define the ore in forge 1.19.3?
February 13, 20232 yr Create a block. Just look at any kind of ore in the Blocks class; it is the same exact process. The rest is just the features which are the json files.
February 24, 20232 yr Author Hello again, do you know how to make a block? i've tried using the ore I made before the generation but didnt work... Oh, and if you do, can you please sent an example of whole block class just so i know fully what to code. Thanks, Tom
February 24, 20232 yr 1 hour ago, TomTheDev said: Hello again, do you know how to make a block? Either extend the block class if you need some specific logic or else initialize the constructor like any other Java object. If you know how to register blocks, it's the same exact process. 1 hour ago, TomTheDev said: Oh, and if you do, can you please sent an example of whole block class just so i know fully what to code. Look in vanilla? There are plenty of examples on how to extend the block class, but this is all basic java anyways besides from know which methods to override for what.
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.