Workaround to mitigate Minetest bug 10101, specifically for advtrains

API / Library Transport

For Minetest 5.0 and above

How do I install this?


This modpack implements the workaround for Minetest bug 10101, with API for advtrains wagons.

Mods in this modpack


Adds “attachment dummy” objects to seats in advtrains wagons, so the Minetest client will set the eye position correctly. Mods which add train models to advtrains have to use the API to make their wagons use the workaround.


Makes various train mods use the advtrains_attachment_offset_patch API.


  • When I join the game, I am not correctly reattached to some wagons.
    • This is a bug in the on_joinplayer callback handler of advtrains, and is not related to this mod.


This mod is intended to be installed from Minetest’s own content manager, ContentDB.

You can also clone the repository to your mods folder. You will need to disable the “LICENSES” and “screenshots” mods, if your Minetest can not figure out that these aren’t mods.

You can also use this bash command from the root directoy of the repository:

git archive --format tar HEAD | tar --extract --one-top-level=advtrains_attachment_offset_patch --directory=path/to/minetest/mods/

(Using GNU tar.)


The mod is licensed as CC-BY-1.0 (media) and MIT (code).

Screenshots depict artwork from other Minetest mods, and are licensed as CC-BY-SA-4.0.


The source code is hosted at Problems should be reported at



Do you recommend this mod?

  • No reviews, yet.