Litematica (Forge)

Litematica (Forge)

336k Downloads

Material list/verifier does not include entites

aakova opened this issue ยท 1 comments

commented

Minecraft version
1.16.1

Mod version and malilib version
fabric-api-0.14.1+build.372-1.16.jar
litematica-fabric-1.16.1-0.0.0-dev.20200630.022912.jar
malilib-fabric-1.16.1-0.10.0-dev.21+arne.1.jar

Description of the bug
Entities are not listed in the Material List, nor are they included in the result of the Schematic Verifier when missing or extra even though shown in the schematic. For example minecarts in a tnt-duper.

commented

These simply haven't been implemented yet, they have been on the todo list for ages...

For the verifier it's also somewhat tricky to implement it... or to decide how to implement it. How should it decide when an entity is present? Does the position need to match exactly? Should it count any entities that are within the bounding box of the entity in the schematic? What about when there are several entities overlapping and their positions all differ slightly... should the mod just check that there is the same number of the same type of entities within the enclosing box around all the entities in the schematic that are overlapping? But what if some of those entities are further away and they would overlap a nearby second cluster of entities and would be counted for both clusters? I guess any counted entity could be excluded from being counted again. But what if it was counted for the "wrong cluster" and then the other cluster falls short due to that.

So it sounds simple at first, but it can get really messy and complex if you need it to be very accurate for overlapping or very closeby entities.