You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome to have the ability to make a player join, move them around, place/break blocks.
How we do this, I'm not too sure especially between versions.
Proposed APIs:
@E2ETest(description = "Test that `/sf versions` returns the right MC version")
publicvoidtestMcVersion() {
// Make our player join the gamefinalMockPlayerplayer = TestUtililies.playerJoin();
// Move, give a composter and place it downplayer.moveTo(4, 5, 5);
player.runCommand("/sf give " + player.getName() + " COMPOSTER");
player.placeItemInHand(5, 5, 5); // place at 5x, 5y, 5z// Assert that the block at 5, 5, 5 is a composterAssert.blockIsItem(newLocation(player.getWorld(), 5, 5, 5), "COMPOSTER");
}
The text was updated successfully, but these errors were encountered:
It would be awesome to have the ability to make a player join, move them around, place/break blocks.
How we do this, I'm not too sure especially between versions.
Proposed APIs:
The text was updated successfully, but these errors were encountered: