Run ./test
, then open your Minecraft client to connect to localhost
and try the following.
/story test
- Verify
test.story
happened as expected
TODO Replace this with a saved Blockly instead of Scratch project...
First test that Eric's (!) saved project (which is in git) works:
Right click Piggy and verify it says "Hello, my friend!"type/scratch_test
verify the title shown
Now test that you can make a new project:
- Open http://localhost:7070/index.html
TODO support command
/make
and click the link in the Minecraft Chat to open the Blockly-based UI in the browser - Add
- Events > When /
demo
- Actions > Title
Hello!
- Actions >
Piggy
speaksHello!
- Events > When /
/demo
command in Minecraft should now make the entity Piggy speak- Drag a whenInside block and add a name of the region
trigger
- Your player will get a special axe to "draw" the region with
- Use left mouse to set the first point of a box
- Right mouse to set the second point of a box
- Now any time a player enters the block beneath will be executed
- Your player will get a special axe to "draw" the region with
TODO Update the following, after Blockly will be made to reload previous projects?
close BrowserTODO/demo
should still work, but currently doesn't anymore (because project JSON wasn't automagically moved from/minecraft-server-test-data/config/storeys-web/working/
tostoreys-web/scratch/
)/make
againVerify that previously created blocks still appearTODO bug #310/demo
should still work, but currently doesn't, because ofIllegalArgumentException: A plugin may not register multiple commands for the same alias ('demo')
in log; this needs more thoughts in general.
/story js
- Verify
js.story
happened as expected
/new
- Verify
test.js
happened as expected - _TODO Walk to the cacti and jump on top and make sure a "you jumped!" is shown as title
- Edit
test.js
to changem.title("Hello");
tom.title("hello, world");
/new
- Verify title shown changed
/example
- Verify
ExampleScript.java
happened as expected /another
- ditto
- Right click Piggy and verify it says (narrates) "Oink!"
We do not support "hot reloading" these Java plugins (yet, but we could).
To see what's going on inside the container, use:
podman exec -it storeys bash
Run ./clean
, this WILL LOOSE any in-game world changes
that are ignored and not commited to git!