Amulet-Team / Amulet-Map-Editor

A new Minecraft world editor and converter that supports all versions since Java 1.12 and Bedrock 1.7.
https://www.amuletmc.com/
1.73k stars 122 forks source link

Item Support #155

Open BADyaga13 opened 3 years ago

BADyaga13 commented 3 years ago

When converting the world from bedrock to java, the chests are empty.

Desktop (please complete the following information):

Podshot commented 3 years ago

This is a known limitation with the current version of our world translation system, we hope to have this implemented soon but as of now transferring items between different platforms is not supported.

gchennell commented 2 years ago

I still seem to get no inventory when converting bedrock 1.18 to java (current version as of writing) - is there a fix I should know about? It would be great if possible. thanks.

NSC070 commented 2 years ago

I still seem to get no inventory when converting bedrock 1.18 to java (current version as of writing) - is there a fix I should know about? It would be great if possible. thanks.

It won't work because Java accounts and bedrock accounts have different Ids on java you have a UUID and on bedrock you have a XUID. Maybe it will work if you find it somewhere in your files of the bedrock world and change your XUID to your Java accounts UUID but i think Amulet converts player data.

NinCollin commented 1 month ago

I do have an idea as far as converting player's inventory are concerned (think this is best suited here over #195 since that's just general player data support, and this is more about conversion)

While Java accounts and Bedrock accounts do use different form of internal IDs (UUID vs XUID), I think, when a Bedrock world is converted into a Java world, that the XUID should still be stored in the Java world. There's a very good reason for this; Floodgate, a server-side plugin that allows Bedrock players to connect to a Java server without needing a Java account, stores players XUID in the world in place of a UUID.

If Amulet were to store converted player's inventory under their XUID (especially since not every Bedrock player has an associated Java account) then this would allow for Floodgate support (as well as giving players of a world the ability to migrate their items out of their converted inventory)

TheKidThatCodes commented 1 month ago

maybe use geyser as a reference for how to convert items?