World Primer

World Primer

7M Downloads

[Suggestion] Support for NotEnoughIds in schematic files

Hojosa opened this issue ยท 4 comments

commented

In all bigger Modpacks NotEnoughIds is present to extend the ID Limit for Blocks and Items. This causes an incompatibilty with the place-structre and create-structure commands when blocks are present that have a ID thats over the vanilla ID limit. (should also affect items)
Is it possibile to support the extended range when NEID (blocks + items) is present?

commented

I can add support for that, yes. If the area/schematic is not super huge, then using the vanilla structure format should already work in the current version, I think? Ie. using the vanilla variant of the create-structure and place-structure commands, instead of schematic.

commented

Ah yes, the vanilla format works. Found that out just a minute after posting.
Regarding the area not beeing to huge, where is the limit?

commented

There is no hard limit, but the vanilla format is very memory-inefficient when the volume gets large. A while back I tested an area around 160x256x160 and that fails to paste completely, as the game just freezes or runs out of memory. If I were to pull a random number out of my arse, I'd say something like 64x64x64 is probably still completely (mostly) fine.

You can just try it out and see when you start to get long freezes when saving or pasting it, and when the produced file size starts to be in the range of 1 MB+ or so. Depending on the shape of the stuff you need in the schematic, cutting it into multiple smaller pieces might also help, especially if you can avoid including large areas of air that way and thus save on the total volume.

commented

I have one bigger area, around 270x172x270 but cutting it into smaller parts is no problem. So it should work out fine, thanks for the info regarding the possibile freezes when it gets to large and the tipp with the air block.