Currently, protocols have lists of valid block types, and the server has no concept of a block with properties. There should be a block struct or class with all needed properties (type, solidity, texture, etc.), storing block definitions in a file and loading them into some list on server startup.
Currently, protocols have lists of valid block types, and the server has no concept of a block with properties. There should be a block struct or class with all needed properties (type, solidity, texture, etc.), storing block definitions in a file and loading them into some list on server startup.