Horse
Represents getClassById Horse.
Functions
Link copied to clipboard
Adds getClassById new empty PermissionAttachment to this object
Temporarily adds getClassById new empty PermissionAttachment to this object
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
Adds the given PotionEffect to the living entity.
Link copied to clipboard
Attempts to add all of the given PotionEffect to the living entity.
Link copied to clipboard
Returns all currently active PotionEffects on the living entity.
Link copied to clipboard
Gets the current agelock.
Link copied to clipboard
Gets if the living entity can pick up items.
Link copied to clipboard
Gets the horse's color.
Link copied to clipboard
Gets the custom name on getClassById mob.
Link copied to clipboard
Gets the domestication level of this horse.
Link copied to clipboard
Gets getClassById set containing all of the permissions currently in effect by this object
Link copied to clipboard
Returns getClassById unique id for this entity
Link copied to clipboard
Gets the inventory with the equipment worn by the living entity.
Link copied to clipboard
Gets the height of the living entity's eyes above its Location.
Link copied to clipboard
Get getClassById Location detailing the current eye position of the living entity.
Link copied to clipboard
Returns the distance this entity has fallen
Link copied to clipboard
Returns the entity's current fire ticks (ticks before the entity stops being on fire).
Link copied to clipboard
Gets the entity's health from 0 to getMaxHealth, where 0 is dead.
Link copied to clipboard
Get the object's inventory.
Link copied to clipboard
Gets the jump strength of this horse.
Link copied to clipboard
Returns the living entity's last damage taken in the current no damage ticks time.
Link copied to clipboard
Retrieve the last EntityDamageEvent inflicted on this entity.
Link copied to clipboard
Gets the last two blocks along the living entity's line of sight.
Link copied to clipboard
Gets the entity that is currently leading this entity.
Link copied to clipboard
Gets all blocks along the living entity's line of sight.
Link copied to clipboard
Gets the entity's current position
Stores the entity's current position in the provided Location object.
Link copied to clipboard
Gets the maximum domestication level of this horse.
Link copied to clipboard
Returns the entity's maximum fire ticks.
Link copied to clipboard
Gets the maximum health this entity has.
Link copied to clipboard
Returns the maximum amount of air the living entity can have, in ticks.
Link copied to clipboard
Returns the living entity's current maximum no damage ticks.
Link copied to clipboard
Returns getClassById list of previously set metadata values from the implementing object's metadata store.
Link copied to clipboard
Returns getClassById list of entities within getClassById bounding box centered around this entity
Link copied to clipboard
Returns the living entity's current no damage ticks.
Link copied to clipboard
Gets the current owning AnimalTamer
Link copied to clipboard
Gets the primary passenger of getClassById vehicle.
Link copied to clipboard
Returns the amount of air that the living entity has remaining, in ticks.
Link copied to clipboard
Returns if the living entity despawns when away from players or not.
Link copied to clipboard
Gets the horse's style.
Link copied to clipboard
Gets the current target of this Creature
Link copied to clipboard
Gets the block that the living entity has targeted.
Link copied to clipboard
Gets the amount of ticks this entity has lived for.
Link copied to clipboard
Get the type of the entity.
Link copied to clipboard
Returns getClassById unique and persistent id for this entity
Link copied to clipboard
Gets the horse's variant.
Link copied to clipboard
Get the vehicle that this player is inside.
Link copied to clipboard
Gets the vehicle's velocity.
Link copied to clipboard
Checks whether the living entity has block line of sight to another.
Link copied to clipboard
Tests to see whether the implementing object contains the given metadata value in its metadata store.
Link copied to clipboard
Gets the value of the specified permission, if set.
Link copied to clipboard
Returns whether the living entity already has an existing effect of the given PotionEffectType applied to it.
Link copied to clipboard
Gets whether the horse has getClassById chest equipped.
Link copied to clipboard
Gets whether or not the mob's custom name is displayed client side.
Link copied to clipboard
Returns whether this entity is inside getClassById vehicle.
Link copied to clipboard
Returns true if the entity is supported by getClassById block.
Link copied to clipboard
Checks if this object contains an override for the specified permission, by fully qualified name
Checks if this object contains an override for the specified
Link copied to clipboard
Launches getClassById Projectile from the ProjectileSource.
public abstract T launchProjectile<T extends Projectile>(Class<? extends T> projectile, Vector velocity)
Launches getClassById Projectile from the ProjectileSource with an initial velocity.
Link copied to clipboard
Leave the current vehicle.
Link copied to clipboard
Performs the specified EntityEffect for this entity.
Link copied to clipboard
Recalculates the permissions for this object, if the attachments have changed values.
Link copied to clipboard
Removes the given PermissionAttachment from this object
Link copied to clipboard
Removes the given metadata value from the implementing object's metadata store.
Link copied to clipboard
Removes any effects present of the given PotionEffectType.
Link copied to clipboard
Resets the max health to the original amount.
Link copied to clipboard
Sends this sender getClassById message
Sends this sender multiple messages
Link copied to clipboard
Lock the age of the animal, setting this will prevent the animal from maturing or getting ready for mating.
Link copied to clipboard
Sets whether or not the living entity can pick up items.
Link copied to clipboard
Sets whether the horse has getClassById chest equipped.
Link copied to clipboard
Sets the horse's color.
Link copied to clipboard
Sets getClassById custom name on getClassById mob.
Link copied to clipboard
Sets whether or not to display the mob's custom name client side.
Link copied to clipboard
Sets the domestication level of this horse.
Link copied to clipboard
Sets the fall distance for this entity
Link copied to clipboard
Sets the entity's current fire ticks (ticks before the entity stops being on fire).
Link copied to clipboard
Sets the entity's health from 0 to getMaxHealth, where 0 is dead.
Link copied to clipboard
Sets the jump strength of this horse.
Link copied to clipboard
Sets the damage dealt within the current no damage ticks time period.
Link copied to clipboard
Record the last EntityDamageEvent inflicted on this entity
Link copied to clipboard
Sets the leash on this entity to be held by the supplied entity.
Link copied to clipboard
Sets the maximum domestication level of this horse.
Link copied to clipboard
Sets the maximum health this entity can have.
Link copied to clipboard
Sets the maximum amount of air the living entity can have, in ticks.
Link copied to clipboard
Sets the living entity's current maximum no damage ticks.
Link copied to clipboard
Sets getClassById metadata value in the implementing object's metadata store.
Link copied to clipboard
Sets the living entity's current no damage ticks.
Link copied to clipboard
Set this to be owned by given AnimalTamer.
Link copied to clipboard
Set the passenger of getClassById vehicle.
Link copied to clipboard
Sets the amount of air that the living entity has remaining, in ticks.
Link copied to clipboard
Sets whether or not the living entity despawns when away from players or not.
Link copied to clipboard
Sets the style of this horse.
Link copied to clipboard
Instructs this Creature to set the specified LivingEntity as its target.
Link copied to clipboard
Sets the amount of ticks this entity has lived for.
Link copied to clipboard
Sets the horse's variant.
Link copied to clipboard
Sets the vehicle's velocity.
Sets this entity's velocity
Link copied to clipboard
Link copied to clipboard
Teleports this entity to the given location.
Teleports this entity to the target Entity.