Closed satoshinm closed 7 years ago
Got the bukkit players bridged well, position and even rotation updates, including sandboxed within the range with join/leave, tracking entity IDs.
Now for the web client entities: spawn in the world and track it from client updates.
but, world.spawn(location, HumanEntity.class) throws NPE on Glowstone: https://gist.github.com/satoshinm/ebc87cdf1d782ba91b893fe24cd8ffd2
workaround, using Sheep - can spawn it and move around, though setCustomNameVisible(false) causes this save error: https://gist.github.com/satoshinm/8a7cb999c09bb42048e70647875f53c8
and setGravity(false) seems to have no effect? (drops like a rock)
Web users now visible as sheep:
but need to make web users visible to each other, too.
Picture-in-picture even works (Craft feature):
https://github.com/satoshinm/WebSandboxMC/issues/2 Player position updates