MattyTomas Posted May 31 Share Posted May 31 (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 by MattyTomas Quote Link to comment Share on other sites More sharing options...
ChampionAsh5357 Posted June 1 Share Posted June 1 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. Quote Link to comment Share on other sites More sharing options...
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.