Tameet Posted June 1, 2019 Posted June 1, 2019 (edited) I want to change drop chances for the vanilla sand block for only one item, for example, for the stick. But if i write this code, i change drop chances for all drops of the sand block: if ((event.getState().getBlock() instanceof BlockSand)) { event.getDrops().add(new ItemStack(Items.STICK, 1)); event.setDropChance((float) 0.08); } Edited June 1, 2019 by Tameet 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.