Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrot not working properly when save has different ID mappings than inital settings #16

Open
HamiltonKsos opened this issue Jan 28, 2015 · 1 comment

Comments

@HamiltonKsos
Copy link

I created a mrot file for backpacks! and tinker's construct and it worked fine on the test world I had to create it, but when I use a previously saved world, the rotations did not work, and the helm would not rotate correctly. Vanilla block rotations were still working correctly, except for the mysterious disappearance of some ladders, which may be unrelated. I did not edit the default .mrot file.

After reviewing the FML logs I found these relevant entries:
[08:33:26] [Client thread/TRACE] [FML/backpacks16840]: Registry add: backpacks16840:backpack_block 165 brad16840.backpacks.blocks.BackpackBlock@14c10311 (req. id -1)
[08:33:26] [Client thread/TRACE] [FML/ArchimedesShips]: Registry add: ArchimedesShips:marker 169 net.minecraft.item.ItemBlock@1af3bf5b (req. id 169)

During Initialization block numeric block ID's are mapped.

[08:33:40] [Client thread/TRACE] [ArchimedesShips/ArchimedesShips]: Adding meta rotations (block=ArchimedesShips:marker, id=169, mask=3, rot=[0, 1, 2, 3])
[08:33:40] [Client thread/TRACE] [ArchimedesShips/ArchimedesShips]: Adding meta rotations (block=backpacks16840:backpack_block, id=165, mask=7, rot=[3, 4, 2, 5])

Mrot files loaded following the initial block ID's

[09:16:07] [Server thread/DEBUG] [FML/]: Fixed item id mismatch backpacks16840:backpack_block: 165 (init) -> 795 (map).
[09:16:07] [Server thread/DEBUG] [FML/]: Fixed item id mismatch ArchimedesShips:marker: 169 (init) -> 165 (map).

on world load, the numeric block ID's change. I verified with Waila, and the metadata is following the backpack rotation sequence.

TehStoneMan pushed a commit to TehStoneMan/archimedes-ships that referenced this issue May 14, 2015
@Yuri6037
Copy link

Yuri6037 commented Jul 1, 2015

I got the same bug rotations are invalid, but with the Marker block (Ship's Helm).

I'm using the latest GitHub on my IDE...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants