I am making a mod for salting crops, and I am trying to implement World.setBlock(int, int, int, Block) inside an item's onItemUse event. Instead of replacing a clicked block with a salted ground block, it replaces it with air.
Code: https://gist.github.com/qsysmine/d710422697146b91f0c2
When I was testing my mod, the textures were showing up and working fine. When I wanted to test it in my Minecraft, I recompiled and re-obfuscated it. I then added the zipped mod to my mods folder in Minecraft. The functions were kept the same, but the textures disappeared.