Pehkui

Pehkui

35M Downloads

Mod incompatibilities with Minecraft Transit Railway

Kenny-Hui opened this issue · 1 comments

commented

Minecraft version(s)

1.16.5, 1.17.1, 1.18.2, 1.19, 1.19.2

Minecraft version details

No response

Mod loader

Fabric

Mod loader version

0.14.9

Fabric API version

0.46.1

In what environment did the problem occur?

My singleplayer world

What went wrong? (Crash logs don't go here)

The Minecraft Transit Railway is an architectury mod designed to make fully automated transit system possible (Mostly metro oriented). We will abbreviate this mod as "MTR"

With pehkui installed, the Rails and Trains on MTR is automatically lowered by 1 blocks, and the rail also "moves around" on 3rd person.

  1. Install the MTR Mod (Recommend using artifacts from the 3.1.0 branch, "Fabric and Forge normal")
  2. Open up a new world, and grab the "Rail Node" item.
  3. Place 2 nodes somewhere
  4. Use any rail connector (an item) to connect these 2 nodes by right clicking it.
  5. The rail would be lowered by 1 block in first person, and would move around in 3rd person, misaligning the rail node.
    This does not happen without pehkui installed.
  6. The offset gets worse when you attempt to scale the player entity higher

image

How the rendering works (From my knowledge):

  • All trains and rails are rendered with 1 invisible entity that follows around the player: mtr:seats
  • All rails and trains are manually drawn around the world by this single entity, rather than each train/rail being it's own entity.
  • The code for rendering trains and rails can be seen here
    (3.1.0 is the latest dev branch)

Rail rendering starts at Line 344
Trains rendering starts at Line 139
Although I don't think it matters as it happens on both Rails and Trains, probably some camera calculation on the top

Also see:
Minecraft-Transit-Railway/Minecraft-Transit-Railway#381

Full list of installed mods

Mods:
[✔] architectury-2.10.6
[✔] cem-0.6.2
[✔] CITResewn-0.9.1+1.17.1
[✔] cloth-api-2.0.54
[✔] cloth-config-5.3.58-fabric
[✔] colormatic-2.3.1+mc.1.17.1
[✔] completeconfig-lib-1.2.0
[✔] continuity-1.1.0+1.17
[✔] cullleaves-2.3.2
[✔] enhancedblockentities-0.5+1.17
[✔] fabric-api-0.46.1+1.17
[✔] fabric-carpet-1.17.1-1.4.57+v220119
[✔] fabric-language-kotlin-1.7.1+kotlin.1.6.10
[✔] fabrishot-1.5.1
[✔] fastopenlinksandfolders-1.1.0
[✔] ferritecore-3.0.3-fabric
[✔] hydrogen-fabric-mc1.17.1-0.3
[✔] indium-1.0.1+mc1.17.1
[✔] iris-mc1.17.1-1.2.6
[✔] item-model-fix-1.0.3+1.17
[✔] Joban-Client-Mod-fabric-1.17.1-1.1.4-hotfix-1
[✔] lambdynamiclights-2.1.0+1.17
[✔] language-reload-1.2
[✔] lazydfu-0.1.2
[✔] lithium-fabric-mc1.17.1-0.7.5
[✔] littletweaks-1.0.0
[✔] modmenu-2.0.14
[✔] morechathistory-1.17.1-1.1.0
[✔] MTR-fabric-1.17.1-3.1.0-unofficial-3
[✔] no-potion-offset-1.0.2
[✔] nofade-1.17-2.0.0
[✔] notenoughcrashes-4.1.4+1.17.1-fabric
[✔] Pehkui-3.3.3+1.14.4-1.19.1
[✔] slideshow-1.17.1-0.5.4
[✔] slight-gui-modifications-2.0.3
[✔] Slyde-1.4.1
[✔] smoothboot-fabric-1.16.5-1.6.0
[✔] sodium-extra-mc1.17.1-0.4.0
[✔] sodium-fabric-mc1.17.1-0.3.4+build.13
[✔] starlight-1.0.0+fabric.73f6d37
[✔] time-and-wind-ct-1.4.1+1.17.1
[✔] tooltipfix-1.0.4-1.17.1
[✔] WI-Zoom-1.3-MC1.17.1
[✔] worldedit-mod-7.2.7
[✔] Xaeros_Minimap_22.10.0_Fabric_1.17.1

Did the problem cause the game to crash?

No.

Full crash report contents (if you experienced a crash)

No response

commented

Resolved by the mod developer