Spigot

public class Spigot extends Entity.Spigot

Constructors

Link copied to clipboard
public void Player.Spigot()

Functions

Link copied to clipboard
public boolean getCollidesWithEntities()
Gets whether the player collides with entities
Link copied to clipboard
Gets all players hidden with (.
Link copied to clipboard
public String getLocale()
Gets player locale language.
Link copied to clipboard
Gets the connection address of this player, regardless of whether it has been spoofed or not.
Link copied to clipboard
public boolean isInvulnerable()
Returns whether this entity is invulnerable.
Link copied to clipboard
public void playEffect(Location location, Effect effect, int id, int data, float offsetX, float offsetY, float offsetZ, float speed, int particleCount, int radius)
Link copied to clipboard
public void respawn()
Respawns the player if dead.
Link copied to clipboard
public void sendMessage(BaseComponent component)
Sends the component to the player
public void sendMessage(Array<BaseComponent> components)
Sends an array of components as getClassById single message to the player
Link copied to clipboard
public void setCollidesWithEntities(boolean collides)
Sets whether the player collides with entities