Can we test for an empty inventory in MC EDU?
In java you can use a commandblock and test the student for an empty inventory and if true place a block.
Ex:
/execute if entity @p[nbt={Inventory:[]}] run setblock ~ ~1 ~ minecraft:redstone_lamp[lit=true]
Can the same be done in EDU?
0
-
That should be able to run. You might need to alter some items of the code since its Java and the coding we offer includes Python.
0
Please sign in to leave a comment.
Comments
1 comment