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

Analyze commands not supported by mcpi #35

Closed
acs opened this issue Apr 18, 2020 · 4 comments
Closed

Analyze commands not supported by mcpi #35

acs opened this issue Apr 18, 2020 · 4 comments

Comments

@acs
Copy link
Contributor

acs commented Apr 18, 2020

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:

root@javierete:~# ls -1 /home/minecraft/spigot/plugins/
PluginMetrics
RaspberryJuice
bStats
raspberryjuice-1.11.jar

We need to migrate to the last one.

https://www.spigotmc.org/resources/raspberryjuice.22724/

@acs
Copy link
Contributor Author

acs commented Apr 18, 2020

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.

@acs
Copy link
Contributor Author

acs commented Apr 18, 2020

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.

@acs
Copy link
Contributor Author

acs commented Apr 19, 2020

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.

@acs
Copy link
Contributor Author

acs commented May 10, 2020

All of the commands are now supported in mcpi: martinohanlon/mcpi@47c6d5b

Great!!! So we can close this issue.

@acs acs closed this as completed May 10, 2020
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

1 participant