CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperatorpublic interface ExperienceOrb extends Entity
| Modifier and Type | Interface | Description | 
|---|---|---|
| static class  | ExperienceOrb.SpawnReason | Reasons for why this Experience Orb was spawned | 
Entity.Spigot| Modifier and Type | Method | Description | 
|---|---|---|
| int | getExperience() | Gets how much experience is contained within this orb | 
| UUID | getSourceEntityId() | If this experience orb was spawned in relation to another
 entity, such as a player or other living entity death, or breeding,
 return the source entity UUID. | 
| ExperienceOrb.SpawnReason | getSpawnReason() | Gets the reason that this experience orb was spawned. | 
| UUID | getTriggerEntityId() | If this experience orb was triggered to be spawned by
 an entity such as a player, due to events such as killing entity,
 breaking blocks, smelting in a furnace, etc, this will return the UUID
 of the entity that triggered this orb to drop. | 
| default boolean | isFromBottle() | Deprecated.
 Use getSpawnReason() == EXP_BOTTLE | 
| void | setExperience(int value) | Sets how much experience is contained within this orb | 
getName, sendMessage, sendMessage, sendMessage, sendMessageaddPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport, teleportAsync, teleportAsyncgetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerisOp, setOpint getExperience()
void setExperience(int value)
value - Amount of experience@Deprecated default boolean isFromBottle()
ThrownExpBottle@Nullable UUID getTriggerEntityId()
@Nullable UUID getSourceEntityId()
@NotNull ExperienceOrb.SpawnReason getSpawnReason()
Copyright © 2020. All rights reserved.