Update build.gradle and made TileEntityCrate mark itself as dirty