Hey, I have a quick suggestion, something that I did as I'm following your series. I went ahead and created a BlockIndexes enum so that I could refer to my blocks by name rather than trying to remember what byte they were assigned to. So when adding dirt, I add (byte) BlockIndexes.Dirt. I don't know if it'll help or not, but it might be a nice addition to make the code a bit more readable
Hey, I have a quick suggestion, something that I did as I'm following your series. I went ahead and created a
BlockIndexes
enum so that I could refer to my blocks by name rather than trying to remember what byte they were assigned to. So when adding dirt, I add(byte) BlockIndexes.Dirt
. I don't know if it'll help or not, but it might be a nice addition to make the code a bit more readable