meemknight / ourCraft

A Minecraft clone with many advanced features
https://youtu.be/ebeRZVHslO0
Other
205 stars 15 forks source link

Blocks attributes refactor #5

Open deprale opened 6 months ago

deprale commented 6 months ago

Added bitmasks to each block, not ideal solution but better than the existing solution.

not completely finished...

also fixed a couple of typos in the function names.

meemknight commented 6 months ago

yes I want to do something like this, probably with masks, but I haven't worked at it yet because I'll need to change a lot of stuff.

but I would like yes to allow each block to have some flags like this.