Player.setVelocity Does not work.
Steps to Reproduce:
1. Describe the following JavaScript code:
import { world, Vector } from "mojang-minecraft";
world.events.itemUse.subscribe(ev => {
const vector = new Vector(0, 1, 0);
const entities = ev.source.dimension.getEntities();
for(const entity of entities) {
entity.dimension.runCommand("say " + entity.id);
entity.setVelocity(vector);
}
});
2. Use any item to ignite events.
Observed Results:
All entities except players in the same dimension as the player using the item jumps upward.
Expected Results:
All entities, including players in the same dimension as the player using the item, jump to the upward.
Is this still an issue in the latest version?