Skip to content

mwrowe/blockstate-docker-and-rcon#3

Draft
mwrowe wants to merge 5 commits into
jdeast:mainfrom
mwrowe:mwrowe/blockstate-docker-and-rcon
Draft

mwrowe/blockstate-docker-and-rcon#3
mwrowe wants to merge 5 commits into
jdeast:mainfrom
mwrowe:mwrowe/blockstate-docker-and-rcon

Conversation

@mwrowe

@mwrowe mwrowe commented May 27, 2025

Copy link
Copy Markdown
Collaborator

Goal: new capabilities around getting Block state and issuing Minecraft commands from python.

Changes:

  • Fixed the Minecraft.getBlockWithData() method to retrieve block state. This relies on changes to the jdeast/FruitJuice PaperMC plugin (did a PR on that at the same time).
  • Added the mcipc and rcon packages as dependencies, in order to take advantage of thitgz/minecraft-server's rcon capability.
  • Added Minecraft.runCommands() method to run arbitrary minecraft commands.
  • Added a Jupyter notebook, examples/pyncraft-notebook.ipynb that I've been using to test code. Includes a "subway system" built using pyncraft as an example.

2025-05-25_23 26 36

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

Successfully merging this pull request may close these issues.

1 participant