Skip to content

Instantly share code, notes, and snippets.

@BlackAce21
Created January 8, 2020 08:05
Show Gist options
  • Save BlackAce21/0c889883165bc0442276ed1b918cf2fc to your computer and use it in GitHub Desktop.
Save BlackAce21/0c889883165bc0442276ed1b918cf2fc to your computer and use it in GitHub Desktop.
Mohist Forge Capability problem during dimension transfer
https://imgur.com/a/zgxtJYB
The above file displays 2 .dat files from the same player. One before a teleport (left) and after data was changed in the ForgeCap
section. The same data is being shown after a dimension change was made on the right image. The symptoms for this issue as it
appears ingame were tested thoroughly on Mohist with just this mod loaded, and the same version of forge that Mohist is
running (x.2846) Mohist has the problem using the built in /world command and when using portals such as the nether portal.
The data does not save properly and the result is what you see in the image file. The mod itself ALSO has a teleport command built
in which uses its own logic (confirmed by mod author) and this code does not produce the problem. When using forge, nothing bad
happens. The data saves as expected no matter how you change dimensions including using portals.
Conclusion: Something in the teleportation logic being utilized by mohist for dimension changes for both portals and commands is
causing a problem with Forge Capabilities not saving properly. When we approached the mod author he said the problem was related to the
clone event based on the information provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment