Skip to content

mwrowe/add get block data#1

Draft
mwrowe wants to merge 7 commits into
jdeast:masterfrom
mwrowe:mwrowe/add-get-block-data
Draft

mwrowe/add get block data#1
mwrowe wants to merge 7 commits into
jdeast:masterfrom
mwrowe:mwrowe/add-get-block-data

Conversation

@mwrowe

@mwrowe mwrowe commented May 27, 2025

Copy link
Copy Markdown
Collaborator

Goal

Make the server easier to set up and add new functionality around getting BlockState

Changes

  • Provided instructions and example docker-compose.yml files to use Docker to run a java-edition server with this image: https://hub.docker.com/r/itzg/minecraft-server. There are also instructions and a yaml for bedrock, but it doesn't work (yet). The old instructions are still there.
  • Restructured the directories to deal with compilation issues, basically adding the subdirectory src/main/java/FruitJuice and moving the contents of src/main/java into it, so that the package name is consistent with parent directory. I used git mv to ensure the capitalization of the directory is maintained, which I think was causing problems.
  • Added cmd/world/getBlockData() method to return block state as a string that is easily parsed (e.g., in pyncraft python module-- I will be doing a PR there as well).

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