Posted May 31, 20232 yr I need to code a mod that adds virtual ore deposits in every chunk, and then, with a miner, you can extract those ores. So I need to generate a random value for ores and put it in the chunks data. Then, update those values when mining. Can someone help me with that? Thanks 😁 Edited May 31, 20232 yr by MattyTomas
June 1, 20232 yr 17 hours ago, MattyTomas said: I need to code a mod that adds virtual ore deposits in every chunk, and then, with a miner, you can extract those ores. So I need to generate a random value for ores and put it in the chunks data. Then, update those values when mining. Can someone help me with that? You can use a capability on the chunk itself to store and update the values as needed.
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.