Cubyz
Cubyz copied to clipboard
Dedicated `breakWith<tool>` instead of using material tags
Use breakWithAxe, breakWithPickaxe etc. to specify which tool should be used to break a block instead of relying on material tags like wood or leaf which should correspond to what block is made of, not what it is breakable with.
https://github.com/PixelGuys/Cubyz/issues/1601#issuecomment-2946794112
I'm not so happy with the grammar implications here. wood and leaf are nouns.
To me tags have an is a relationship, e.g. ferrock is a stone, whereas ferrock is a break with pickaxe doesn't make any sense.
Now I cannot think of a noun that describes breakability, but I think the sentence also makes sense with an adjective here:
ferrock is a pickaxe-breakable
mineable, choppable, diggable, cuttable 😝
Yeah, right, these would fit even better, and then we don't even have the specialization on the tool which is also a bonus.