Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Dedicated `breakWith<tool>` instead of using material tags

Open Argmaster opened this issue 6 months ago • 3 comments

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

Argmaster avatar Jun 06 '25 17:06 Argmaster

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

IntegratedQuantum avatar Jun 06 '25 17:06 IntegratedQuantum

mineable, choppable, diggable, cuttable 😝

Argmaster avatar Jun 06 '25 17:06 Argmaster

Yeah, right, these would fit even better, and then we don't even have the specialization on the tool which is also a bonus.

IntegratedQuantum avatar Jun 06 '25 17:06 IntegratedQuantum