Ruins (Structure Spawning System)

Ruins (Structure Spawning System)

23M Downloads

[1.11.2][Ruins]Hyphenated block

drakray opened this issue ยท 8 comments

commented

As discussed here, if a ruin have a block with a Hyphen/Dash in its name, it error in latest.log
Obelisk_Sandstone.tml rule6

commented

Trying to parseruin an Obelisk with scribble in it log

commented

Yes. Hyphen/Dash is a reserved character as far as Ruins is concerned, using it in a blockname is not supported behaviour.

commented

This used to be minecraft behaviour too, however they fixed it at some point in time

commented

could it be fixed by using colon/other symbol instead of hyphen to split meta/rotation?

commented

Sure, it would only mean breaking most Ruins templates. To support something that has literally never come up in all these years. I'll see if i can hack something together that catches this special case without invalidating the scheme.

commented

maybe use a config file for special blockname?

commented

That might be a working but dumb solution. I'll try something cute first.

Aaaand done. Download the current zip from my github.io project and check if the issue is fixed.
a308a19

commented

Seems to work nicely :D