I tried to use this code:
@SubscribeEvent
public void onBlockHarvested(BlockEvent.BreakEvent event)
{ IWorld world=event.getWorld();
world.setBlockState(event.getPos(),new BlockState(new Stump(),new ImmutableMap<String,String>()));
}
But I cannot instantiate the ImmutableMap class and I do not know how it uses