13
0
geforkt von Mirrors/Paper

Enderman.teleportRandomly()

Ability to trigger the vanilla "teleport randomly" mechanic of an enderman.
Dieser Commit ist enthalten in:
Aikar 2018-04-30 13:29:15 -04:00
Ursprung 1281d5b384
Commit 228f9bab1c

Datei anzeigen

@ -10,6 +10,17 @@ import org.jetbrains.annotations.Nullable;
*/
public interface Enderman extends Monster {
// Paper start
/**
* Try to teleport the enderman to a random nearby location.
*
* May conditionally fail if the random location was not valid
* @return If the enderman teleported successfully or not
*/
public boolean teleportRandomly();
// Paper end
/**
* Gets the id and data of the block that the Enderman is carrying.
*