MattyTomas Posted May 31, 2023 Posted May 31, 2023 (edited) 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, 2023 by MattyTomas Quote
ChampionAsh5357 Posted June 1, 2023 Posted June 1, 2023 On 5/31/2023 at 7:38 PM, 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? Expand You can use a capability on the chunk itself to store and update the values as needed. Quote
Recommended Posts
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.