Closed GavvyDizzle closed 3 months ago
Hi! There is already a solution for negative co-ordinates. As cited in the wiki AdvancementDisplay:
UltimateAdvancementAPI supports negative coordinates since 2.1.0 through the CoordAdapter class.
Where you can find an example about it.
When designing advancement pages, I find it easier to center my advancements on the Y axis and place other advancements above/below that line.
The API doesn't allow negative coordinates, but there should be a relatively easy solution. For an advancement tab you know all of the coordinates when registering them. Just add the minX and minY values (if negative) to all advancements to keep them positive.