Oritech

Oritech

588k Downloads

Rotating or mirror flipping a schematics with certain blocks will cause crash

Lantern377 opened this issue ยท 2 comments

commented

Issue description

This is a compatibility issue with Litematica mod. When a player try to rotate or mirror flip a loaded schematic which contains machine extenders or power bank addons, game will crash and this player will be unable to join the world again until that schematic file is deleted.

Steps to reproduce

  1. Install Litematica mod.
  2. Create a schematic contains a machine extender and/or power bank addon.
  3. Load that schematic then rotate or mirro flip it and game will crash.

Minecraft version

1.21.1 (Latest)

Platform

Fabric

Loader version

0.16.9

Fabric API version

0.114.0+1.21.1

Oritech version

0.13.2

Other relevant versions

Litematica 0.19.54
MaLiLib 0.21.6

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://gist.github.com/Lantern377/ab8a3d6e181db1a383cb9feb96eb3672 https://gist.github.com/Lantern377/77df2966ab6aab571bf28a9802790062

commented

Rotating, mirroring or moving the oritech multiblock machines is not supported, and probably won't ever be. The blocks need to store the relative positions of their connected blocks (e.g. machine cores, addons, extenders, etc.). This breaks when moving/transforming the position.

commented

Rotating, mirroring or moving the oritech multiblock machines is not supported, and probably won't ever be. The blocks need to store the relative positions of their connected blocks (e.g. machine cores, addons, extenders, etc.). This breaks when moving/transforming the position.

Understood. I mean, Machine extenders and power bank addons don't need to be a part of multiblock machines to trigger this bug, and it's not caused by trying to rotate, mirror or move a multiblock machine already existed. Rotating or mirroing a schematic from Litematica mod which contains nothing but a machine extender or power bank addon will still cause a crash.

2025-02-01.17-42-58.mp4