-
Notifications
You must be signed in to change notification settings - Fork 11
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
Analyze commands not supported by mcpi #35
Comments
But, is there a mcpi package including the new API calls? I don't think so. So probably, we can extend mcpi from mcthings in some way, or to create a pip package mcpi. Adding entities is pretty cool. |
The future seems to be this one: zhuowei/RaspberryJuice#84 (comment) «It feels like time for RaspberryJuice2. A separate plugin which makes a clear distinction about the break in compatibility and takes forward the premise of a real-time Minecraft API.» But it is a bit unclear how it will be done. |
mcpi API (Raspberry PI Minecraft API) has survived more than 10 years, so it is a good thing to adhere to it. And there are a lot of creations done using it. So be careful using other extended APIs. For example, in minetest, this API is also implemented in: https://github.com/arpruss/raspberryjammod-minetest so McThings must work out of then box also with minetest. All the creations done must work equally in Minecraft and in Minetest which is awesome. And also, it must work in Raspi version, which has a relevant community https://projects.raspberrypi.org/en/projects/getting-started-with-minecraft-pi So I would create another version McThings experimental/lab to play with other options. |
All of the commands are now supported in mcpi: martinohanlon/mcpi@47c6d5b Great!!! So we can close this issue. |
The complete API supported at the server is:
https://github.com/zhuowei/RaspberryJuice
There is a mcpi modded to include the full API: https://github.com/zhuowei/RaspberryJuice/tree/master/src/main/resources/mcpi/api/python/modded/mcpi
With it, for example, entities can be created. And there are a lot of them:
https://github.com/zhuowei/RaspberryJuice/blob/master/src/main/resources/mcpi/api/python/modded/mcpi/entity.py
We are using right now the 1.11 version which includes:
1.11 - spawnEntity, setDirection, setRotation, setPitch
In 1.12 we have also:
1.12 - getEntities, removeEntities, pollProjectileHits, events calls by player and entity
so we need to move to it. In javierete.com we have:
We need to migrate to the last one.
https://www.spigotmc.org/resources/raspberryjuice.22724/
The text was updated successfully, but these errors were encountered: