vexyl / MCHawk2

A rewrite of the Minecraft classic software that I wrote, MCHawk
MIT License
5 stars 1 forks source link

Block types and definitions #4

Open vexyl opened 2 years ago

vexyl commented 2 years ago

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.

vexyl commented 2 years ago

Started this with commit https://github.com/vexyl/MCHawk2/commit/6655d7f4e0b179f090b7e6fdfadfe0adc5be0ecd