Schematics don't work with project red/forge multipart
Trinsdar opened this issue ยท 4 comments
when dimdoors tries to load a schematic that has project red and forge multipart multipart blocks, it throws an error.
https://gist.github.com/Trinsdar/33a663c1a124b3722428ac76f59b1948
Full log: https://gist.github.com/Trinsdar/c00dcfe1c3bc871276141e1301287033
DimensionalDoors-3.0.9-287
I have a 'workaround' for this my side of things, Does DimDoors have some form of API for block placements i could hook into at all?
Sadly, no. We just use setBlockState with the flag that disables block updates for as far as I know. I'll see if I can find the code. :)
Actually, this was part of what Runemoro has rewritten, so we're not using setBlockState anymore.
https://github.com/DimensionalDevelopment/DimDoors/blob/1.12-WIP/src/main/java/org/dimdev/ddutils/schem/Schematic.java#L460
https://github.com/DimensionalDevelopment/DimDoors/blob/1.12-WIP/src/main/java/org/dimdev/ddutils/schem/Schematic.java#L340-L360 Is the part i care about, sadly this is /basically/ what vanilla does for its structure system. Realistically my work around /should/ be fine, but if an api becomes available ill use that.