Posted May 19, 20169 yr I'm not sure if this is the best way to do this. I need to force a crop to grow. After doing some checks I call this function: world.forceBlockUpdateTick(checkBlock, pos, random); I'm not sure what that last random does. Is there a way to make it so it causes the crop to grow 100% the time? Thanks.
May 19, 20169 yr Author I'm coding an item like a watering can, that when used on crops it picks a random number for example between 1 and 10 and if the number is 1, then it makes the crop on the check position grow by 1 100% of the time. PS: gonna take a look at that alternative you suggest Thanks.
May 19, 20169 yr Author I'm checking a radius of 3, so 1 block each side from where the can (my item) is right clicking.
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.