zhuowei / RaspberryJuice

A plugin for Bukkit implementing the Minecraft Pi API
Other
326 stars 147 forks source link

How to add blocks from the new versions? #121

Open javier-cantu opened 3 months ago

javier-cantu commented 3 months ago

I made a script to build all the blocks from ID 1 to 300 with 16 block data values. But there are many blocks that aren't there. In other words, they cannot be constructed this way.

How can I modify the plugin to add the new blocks? I have no idea where to start. But if someone can guide me, maybe I could do it.

icezyclon commented 3 days ago

Hi there, I did exactly the same some time ago also wanting to use newer blocks (among other features) :rofl: However, RaspberryJuice won't be updated with modern block ids and while there are some other projects in that thread that update some aspect of RaspberryJuice - I have since decided to write and publish my own library:

Introducing the Minecraft Protobuf Queries (MCPQ) Plugin and corresponding Python package for the Java edition! It uses a different interface for communication with the client (using protobuffers and grpc) but provides even more options than RaspberryJuice and is currently compatible with Minecraft 1.18.2 and newer versions! I plan on updating it as appropriate, feedback is welcome!

Thank you to RaspberryJuice and Mcpi for being an inspiration and for the great times!

javier-cantu commented 3 days ago

Hey thanks for answering me! Then I'm going to start using your library. I'm not an expert programmer, I'm a beginner actually but if I can help you with anything let me know.

icezyclon commented 3 days ago

Great, feel free to ask any questions over there or if you have trouble replicating functionality from mcpi :wink: (Hint, I recommend to check out the docs and specifically the Turtle for the Python package first)