Translate Minecraft Pi Edition blocks with data into Minetest blocks with param2
I have written a lookup table for converting Minecraft Pi Edition blocks to Minetest blocks. This table assumes Minetest Game mods, Moreblocks, Moreores, and Mesecons. The table includes all blocks in mcpi.block plus all blocks in the Minecraft Pi Edition v0.1.1-6 Creative inventory.
https://github.com/thelabcat/Minecraft- ... o-Minetest
Some blocks did not have direct Minetest equivalents, so I chose Minetest blocks with similar function or appearance that conversely did not directly have Minecraft Pi Edition inventory+mcpi.block equivalents. Some such blocks may actually have direct equivalents in Minecraft Pi edition only accessible through the API, though.
TRANSLATE is a dictionairy from all-caps block names (based on mcpi.block variables in most cases), each having one or more Minetest block names, porentially with param2 values to be set. Each dictionary value is either a string (the block name), a list of strings (block names to be indexed by the Minecraft block data), or a list of tuples, each tuple containing a string (the block name) and an integer (the param2 value the Minetest block should have).
ID_TO_NAME looks up all-caps names from numeric block ID.
Enjoy!
S.D.G.
Minecraft Pi Edition to Minetest conversion
-
- Member
- Posts: 249
- Joined: Wed Jul 26, 2017 18:10
- In-game: zargul
Minecraft Pi Edition to Minetest conversion
May God be with you, always.
-
- Member
- Posts: 15
- Joined: Sat Oct 08, 2022 10:38
Re: Minecraft Pi Edition to Minetest conversion
Can you show the demo please, I'm need to knowzargulthewizard wrote: ↑Sat Sep 03, 2022 14:53Translate Minecraft Pi Edition blocks with data into Minetest blocks with param2
I have written a lookup table for converting Minecraft Pi Edition blocks to Minetest blocks. This table assumes Minetest Game mods, Moreblocks, Moreores, and Mesecons. The table includes all blocks in mcpi.block plus all blocks in the Minecraft Pi Edition v0.1.1-6 Creative inventory.
https://github.com/thelabcat/Minecraft- ... o-Minetest
Some blocks did not have direct Minetest equivalents, so I chose Minetest blocks with similar function or appearance that conversely did not directly have Minecraft Pi Edition inventory+mcpi.block equivalents. Some such blocks may actually have direct equivalents in Minecraft Pi edition only accessible through the API, though.
TRANSLATE is a dictionairy from all-caps block names (based on mcpi.block variables in most cases), each having one or more Minetest block names, porentially with param2 values to be set. Each dictionary value is either a string (the block name), a list of strings (block names to be indexed by the Minecraft block data), or a list of tuples, each tuple containing a string (the block name) and an integer (the param2 value the Minetest block should have).
ID_TO_NAME looks up all-caps names from numeric block ID.
Enjoy!
S.D.G.
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: Minecraft Pi Edition to Minetest conversion
This got me thinking:
Could we make it so we can control minetest using like python or sonic pi, just like at Minecraft Pi...
Could we make it so we can control minetest using like python or sonic pi, just like at Minecraft Pi...
-
- Member
- Posts: 307
- Joined: Wed Apr 21, 2021 03:05
- GitHub: tigercoding56
- In-game: bm5 or bemo5 also sell_her_on55
Re: Minecraft Pi Edition to Minetest conversion
Miniontoby wrote: ↑Sun Oct 23, 2022 14:52This got me thinking:
Could we make it so we can control minetest using like python or sonic pi, just like at Minecraft Pi...
its already done i think there is a mod to do it
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55
-
- Member
- Posts: 249
- Joined: Wed Jul 26, 2017 18:10
- In-game: zargul
Re: Minecraft Pi Edition to Minetest conversion
It was, and it wasn't. viewtopic.php?f=9&t=27580 but I've never gotten either this or the original to work.c56 wrote: ↑Tue Oct 25, 2022 00:17Miniontoby wrote: ↑Sun Oct 23, 2022 14:52This got me thinking:
Could we make it so we can control minetest using like python or sonic pi, just like at Minecraft Pi...
its already done i think there is a mod to do it
May God be with you, always.
-
- Member
- Posts: 249
- Joined: Wed Jul 26, 2017 18:10
- In-game: zargul
Re: Minecraft Pi Edition to Minetest conversion
What demo?
May God be with you, always.
Who is online
Users browsing this forum: No registered users and 7 guests