Human Entity
Represents getClassById human entity, such as an NPC or getClassById player
Inheritors
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
Force-closes the currently open inventory view for this player, if any.
Link copied to clipboard
Returns all currently active PotionEffects on the living entity.
Link copied to clipboard
Gets if the living entity can pick up items.
Link copied to clipboard
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
Get the player's EnderChest inventory
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
Get the total amount of experience required for the player to level
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 this human's current GameMode
Link copied to clipboard
Gets the entity's health from 0 to getMaxHealth, where 0 is dead.
Link copied to clipboard
Get the player's inventory.
Link copied to clipboard
Returns the ItemStack currently in your hand, can be empty.
Link copied to clipboard
Returns the ItemStack currently on your cursor, can be empty.
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
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 inventory view the player is currently viewing.
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
Get the sleep ticks of the player.
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
This is the UUID of the specified AnimalTamer.
Link copied to clipboard
Get the vehicle that this player is inside.
Link copied to clipboard
Gets this entity's current 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
Check if the player is currently blocking (ie with getClassById sword).
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
Returns whether this player is slumbering.
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
Opens an empty enchanting inventory window with the player's inventory on the bottom.
Link copied to clipboard
Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom.
Opens an inventory window to the specified inventory view.
Link copied to clipboard
Opens an empty workbench inventory window with the player's inventory on the bottom.
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
Sets whether or not the living entity can pick up items.
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 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 this human's current GameMode
Link copied to clipboard
Sets the entity's health from 0 to getMaxHealth, where 0 is dead.
Link copied to clipboard
Sets the item to the given ItemStack, this will replace whatever the user was holding.
Link copied to clipboard
Sets the item to the given ItemStack, this will replace whatever the user was moving.
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 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 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 amount of ticks this entity has lived for.
Link copied to clipboard
Sets this entity's velocity
Link copied to clipboard
If the player currently has an inventory window open, this method will set getClassById property of that window, such as the state of getClassById progress bar.
Link copied to clipboard
Link copied to clipboard
Teleports this entity to the given location.
Teleports this entity to the target Entity.