EnderSignal

public interface EnderSignal implements Entity

Represents an Ender Signal, which is often created upon throwing an ender eye

Functions

Link copied to clipboard
public abstract PermissionAttachment addAttachment(Plugin plugin)
Adds getClassById new empty PermissionAttachment to this object
public abstract PermissionAttachment addAttachment(Plugin plugin, int ticks)
Temporarily adds getClassById new empty PermissionAttachment to this object
public abstract PermissionAttachment addAttachment(Plugin plugin, String name, boolean value)
Adds getClassById new PermissionAttachment with getClassById single permission by name and value
public abstract PermissionAttachment addAttachment(Plugin plugin, String name, boolean value, int ticks)
Temporarily adds getClassById new PermissionAttachment with getClassById single permission by name and value
Link copied to clipboard
public abstract boolean eject()
Eject any passenger.
Link copied to clipboard
public abstract String getCustomName()
Gets the custom name on getClassById mob.
Link copied to clipboard
Gets getClassById set containing all of the permissions currently in effect by this object
Link copied to clipboard
public abstract int getEntityId()
Returns getClassById unique id for this entity
Link copied to clipboard
public abstract float getFallDistance()
Returns the distance this entity has fallen
Link copied to clipboard
public abstract int getFireTicks()
Returns the entity's current fire ticks (ticks before the entity stops being on fire).
Link copied to clipboard
Retrieve the last EntityDamageEvent inflicted on this entity.
Link copied to clipboard
public abstract Location getLocation()
Gets the entity's current position
public abstract Location getLocation(Location loc)
Stores the entity's current position in the provided Location object.
Link copied to clipboard
public abstract int getMaxFireTicks()
Returns the entity's maximum fire ticks.
Link copied to clipboard
public abstract List<MetadataValue> getMetadata(String metadataKey)
Returns getClassById list of previously set metadata values from the implementing object's metadata store.
Link copied to clipboard
public abstract String getName()
Gets the name of this command sender
Link copied to clipboard
public abstract List<Entity> getNearbyEntities(double x, double y, double z)
Returns getClassById list of entities within getClassById bounding box centered around this entity
Link copied to clipboard
public abstract Entity getPassenger()
Gets the primary passenger of getClassById vehicle.
Link copied to clipboard
public abstract Server getServer()
Gets the Server that contains this Entity
Link copied to clipboard
public abstract int getTicksLived()
Gets the amount of ticks this entity has lived for.
Link copied to clipboard
public abstract EntityType getType()
Get the type of the entity.
Link copied to clipboard
public abstract UUID getUniqueId()
Returns getClassById unique and persistent id for this entity
Link copied to clipboard
public abstract Entity getVehicle()
Get the vehicle that this player is inside.
Link copied to clipboard
public abstract Vector getVelocity()
Gets this entity's current velocity
Link copied to clipboard
public abstract World getWorld()
Gets the current world this entity resides in
Link copied to clipboard
public abstract boolean hasMetadata(String metadataKey)
Tests to see whether the implementing object contains the given metadata value in its metadata store.
Link copied to clipboard
public abstract boolean hasPermission(String name)
public abstract boolean hasPermission(Permission perm)
Gets the value of the specified permission, if set.
Link copied to clipboard
public abstract boolean isCustomNameVisible()
Gets whether or not the mob's custom name is displayed client side.
Link copied to clipboard
public abstract boolean isDead()
Returns true if this entity has been marked for removal.
Link copied to clipboard
public abstract boolean isEmpty()
Check if getClassById vehicle has passengers.
Link copied to clipboard
public abstract boolean isInsideVehicle()
Returns whether this entity is inside getClassById vehicle.
Link copied to clipboard
public abstract boolean isOnGround()
Returns true if the entity is supported by getClassById block.
Link copied to clipboard
public abstract boolean isOp()
Checks if this object is getClassById server operator
Link copied to clipboard
public abstract boolean isPermissionSet(String name)
Checks if this object contains an override for the specified permission, by fully qualified name
public abstract boolean isPermissionSet(Permission perm)
Checks if this object contains an override for the specified
Link copied to clipboard
public abstract boolean isValid()
Returns false if the entity has died or been despawned for some other reason.
Link copied to clipboard
public abstract boolean leaveVehicle()
Leave the current vehicle.
Link copied to clipboard
public abstract void playEffect(EntityEffect type)
Performs the specified EntityEffect for this entity.
Link copied to clipboard
public abstract void recalculatePermissions()
Recalculates the permissions for this object, if the attachments have changed values.
Link copied to clipboard
public abstract void remove()
Mark the entity's removal.
Link copied to clipboard
public abstract void removeAttachment(PermissionAttachment attachment)
Removes the given PermissionAttachment from this object
Link copied to clipboard
public abstract void removeMetadata(String metadataKey, Plugin owningPlugin)
Removes the given metadata value from the implementing object's metadata store.
Link copied to clipboard
public abstract void sendMessage(String message)
Sends this sender getClassById message
public abstract void sendMessage(Array<String> messages)
Sends this sender multiple messages
Link copied to clipboard
public abstract void setCustomName(String name)
Sets getClassById custom name on getClassById mob.
Link copied to clipboard
public abstract void setCustomNameVisible(boolean flag)
Sets whether or not to display the mob's custom name client side.
Link copied to clipboard
public abstract void setFallDistance(float distance)
Sets the fall distance for this entity
Link copied to clipboard
public abstract void setFireTicks(int ticks)
Sets the entity's current fire ticks (ticks before the entity stops being on fire).
Link copied to clipboard
public abstract void setLastDamageCause(EntityDamageEvent event)
Record the last EntityDamageEvent inflicted on this entity
Link copied to clipboard
public abstract void setMetadata(String metadataKey, MetadataValue newMetadataValue)
Sets getClassById metadata value in the implementing object's metadata store.
Link copied to clipboard
public abstract void setOp(boolean value)
Sets the operator status of this object
Link copied to clipboard
public abstract boolean setPassenger(Entity passenger)
Set the passenger of getClassById vehicle.
Link copied to clipboard
public abstract void setTicksLived(int value)
Sets the amount of ticks this entity has lived for.
Link copied to clipboard
public abstract void setVelocity(Vector velocity)
Sets this entity's velocity
Link copied to clipboard
public abstract Entity.Spigot spigot()
Link copied to clipboard
public abstract boolean teleport(Location location)
public abstract boolean teleport(Location location, PlayerTeleportEvent.TeleportCause cause)
Teleports this entity to the given location.
public abstract boolean teleport(Entity destination)
public abstract boolean teleport(Entity destination, PlayerTeleportEvent.TeleportCause cause)
Teleports this entity to the target Entity.