I was looking through the minecraft source code and I see a lot in classes like Item and Block and Entity empty functions with just headers and nothing in them. I was just thinking that maybe there's a better way of doing that exactly just less space and memory? So that it's just a declaration like in C++ and C# but subclasses can override it as they please just not required like an abstract function is or like in an interface.