Closed Hopson97 closed 4 years ago
The way I understand it this PR does two things: Make water blocks unbreakable and prevent the selection box to render on water on blocks. The commit message does not reflect this appropriately, I recommend splitting it into two commits, or fix the commit message so it reflects both changes.
Also can you explain why meshType was renamed to type, whereas meshStyle did not undergo that change?
Agreed about the commit message.
As for the renaming, the original name meshType
was wrong, type
makes more sense as it says what sort physical state the voxel is, for example a "solid" voxel, a "gas" voxel, or a "fluid" voxel. These have very little to do with the actual mesh of the voxel.
MeshStyle is correct as it says the style of the mesh. For example, blocks would have a "block" mesh style, whereas things like flowers and such would have an "X" shaped mesh style.
I think it's good to merge!
BEFORE
AFTER
Also rename "meshType" to just "type" for voxels, as it more reflects what it is