Hello,
So I have the current code which, in theory, should change the drops from the leaves to give sticks, however this is not the case. Anyone have experience with this and maybe have a suggestion as to why it doesn't work?
Many Thanks
@SubscribeEvent
public void leaves(HarvestDropsEvent event){
if (event.block == Blocks.leaves) {
event.drops.clear();
event.drops.add(new ItemStack(Items.stick, 1));
}
}