Litematica

Litematica

8M Downloads

Placement stops rendering above y = 382 or below y = -64

Shipool opened this issue ยท 5 comments

commented

Litematica Version:
litematica-fabric-1.17.0-0.0.0-dev.20210616.033538.jar

Malib Version:
malilib-fabric-1.17.0-0.10.0-dev.22+beta.1.jar

Minecraft: 1.17

When trying to render a schematic above y383, it turns invisible, any objects past this threshold if it's loaded below it are also completely invisible and not rendered.

To reproduce, have a datapack that expands the world to beyond 380, and try to have a schematic render there.

image

commented

This is an issue in the current LayerRange class in malilib, basically it does not currently have world context in the methods that return the "world limits". So it will need a refactor to support fetching all the minimum and maximum limits from the world, and it then also means that the world reference will need to be passed in from all the call sites as well.

So it's meant to get a rewrite, possibly as part of the current rewrites happening in 1.12.2. And that means that this most likely won't be fixed in the 1.17 versions before those rewrites from 1.12.2 are ready to be ported forward, and that will still take an unknown amount of time.

commented

Sore there is no way to resolve it or to use schematics under y -64 ?

commented

I uploaded a new version of both Litematica and malilib (which you will need!) that now supports custom world heights instead of hard-coding the y limits.

commented

I uploaded a new version of both Litematica and malilib (which you will need!) that now supports custom world heights instead of hard-coding the y limits.

Arf, it's on 1.17.1 version, is it compatible with 1.17 ? because i really cant change my version of the game

commented

It should be almost entirely compatible. AFAIK the only thing that will crash the game if you mix the 1.17.0 vs. 1.17.1 versions of Litematica is if you try to set a thumbnail/preview image for a schematic via the Schematic Manager GUI.