Class TempEntity

java.lang.Object
studio.magemonkey.fabled.dynamic.TempEntity
All Implemented Interfaces:
org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class TempEntity extends Object implements org.bukkit.entity.LivingEntity
Temporary dummy entity used for targeting a location in the dynamic system
  • Constructor Details

    • TempEntity

      public TempEntity(org.bukkit.Location loc)
      Sets up a new dummy entity
      Parameters:
      loc - location to represent
    • TempEntity

      public TempEntity(EffectTarget target)
  • Method Details

    • getEyeHeight

      public double getEyeHeight()
      Specified by:
      getEyeHeight in interface org.bukkit.entity.LivingEntity
    • getEyeHeight

      public double getEyeHeight(boolean b)
      Specified by:
      getEyeHeight in interface org.bukkit.entity.LivingEntity
    • getEyeLocation

      @NotNull public org.bukkit.Location getEyeLocation()
      Specified by:
      getEyeLocation in interface org.bukkit.entity.LivingEntity
    • getLineOfSight

      public List<org.bukkit.block.Block> getLineOfSight(HashSet<Byte> hashSet, int i)
    • getLineOfSight

      @NotNull public List<org.bukkit.block.Block> getLineOfSight(Set<org.bukkit.Material> set, int i)
      Specified by:
      getLineOfSight in interface org.bukkit.entity.LivingEntity
    • getTargetBlock

      public org.bukkit.block.Block getTargetBlock(HashSet<Byte> hashSet, int i)
    • getTargetBlock

      @NotNull public org.bukkit.block.Block getTargetBlock(Set<org.bukkit.Material> set, int i)
      Specified by:
      getTargetBlock in interface org.bukkit.entity.LivingEntity
    • getLastTwoTargetBlocks

      public List<org.bukkit.block.Block> getLastTwoTargetBlocks(HashSet<Byte> hashSet, int i)
    • getLastTwoTargetBlocks

      @NotNull public List<org.bukkit.block.Block> getLastTwoTargetBlocks(Set<org.bukkit.Material> set, int i)
      Specified by:
      getLastTwoTargetBlocks in interface org.bukkit.entity.LivingEntity
    • getTargetBlockExact

      @Nullable public org.bukkit.block.Block getTargetBlockExact(int maxDistance)
      Specified by:
      getTargetBlockExact in interface org.bukkit.entity.LivingEntity
    • getTargetBlockExact

      @Nullable public org.bukkit.block.Block getTargetBlockExact(int maxDistance, @NotNull org.bukkit.FluidCollisionMode fluidCollisionMode)
      Specified by:
      getTargetBlockExact in interface org.bukkit.entity.LivingEntity
    • rayTraceBlocks

      @Nullable public org.bukkit.util.RayTraceResult rayTraceBlocks(double maxDistance)
      Specified by:
      rayTraceBlocks in interface org.bukkit.entity.LivingEntity
    • rayTraceBlocks

      @Nullable public org.bukkit.util.RayTraceResult rayTraceBlocks(double maxDistance, @NotNull org.bukkit.FluidCollisionMode fluidCollisionMode)
      Specified by:
      rayTraceBlocks in interface org.bukkit.entity.LivingEntity
    • throwEgg

      public org.bukkit.entity.Egg throwEgg()
    • throwSnowball

      public org.bukkit.entity.Snowball throwSnowball()
    • shootArrow

      public org.bukkit.entity.Arrow shootArrow()
    • getRemainingAir

      public int getRemainingAir()
      Specified by:
      getRemainingAir in interface org.bukkit.entity.LivingEntity
    • setRemainingAir

      public void setRemainingAir(int i)
      Specified by:
      setRemainingAir in interface org.bukkit.entity.LivingEntity
    • getMaximumAir

      public int getMaximumAir()
      Specified by:
      getMaximumAir in interface org.bukkit.entity.LivingEntity
    • setMaximumAir

      public void setMaximumAir(int i)
      Specified by:
      setMaximumAir in interface org.bukkit.entity.LivingEntity
    • getItemInUse

      @Nullable public org.bukkit.inventory.ItemStack getItemInUse()
      Specified by:
      getItemInUse in interface org.bukkit.entity.LivingEntity
    • getItemInUseTicks

      public int getItemInUseTicks()
      Specified by:
      getItemInUseTicks in interface org.bukkit.entity.LivingEntity
    • setItemInUseTicks

      public void setItemInUseTicks(int i)
      Specified by:
      setItemInUseTicks in interface org.bukkit.entity.LivingEntity
    • getArrowCooldown

      public int getArrowCooldown()
      Specified by:
      getArrowCooldown in interface org.bukkit.entity.LivingEntity
    • setArrowCooldown

      public void setArrowCooldown(int ticks)
      Specified by:
      setArrowCooldown in interface org.bukkit.entity.LivingEntity
    • getArrowsInBody

      public int getArrowsInBody()
      Specified by:
      getArrowsInBody in interface org.bukkit.entity.LivingEntity
    • setArrowsInBody

      public void setArrowsInBody(int count)
      Specified by:
      setArrowsInBody in interface org.bukkit.entity.LivingEntity
    • getMaximumNoDamageTicks

      public int getMaximumNoDamageTicks()
      Specified by:
      getMaximumNoDamageTicks in interface org.bukkit.entity.LivingEntity
    • setMaximumNoDamageTicks

      public void setMaximumNoDamageTicks(int i)
      Specified by:
      setMaximumNoDamageTicks in interface org.bukkit.entity.LivingEntity
    • getLastDamage

      public double getLastDamage()
      Specified by:
      getLastDamage in interface org.bukkit.entity.LivingEntity
    • setLastDamage

      public void setLastDamage(double v)
      Specified by:
      setLastDamage in interface org.bukkit.entity.LivingEntity
    • _INVALID_getLastDamage

      public int _INVALID_getLastDamage()
    • _INVALID_setLastDamage

      public void _INVALID_setLastDamage(int i)
    • getNoDamageTicks

      public int getNoDamageTicks()
      Specified by:
      getNoDamageTicks in interface org.bukkit.entity.LivingEntity
    • setNoDamageTicks

      public void setNoDamageTicks(int i)
      Specified by:
      setNoDamageTicks in interface org.bukkit.entity.LivingEntity
    • getNoActionTicks

      public int getNoActionTicks()
      Specified by:
      getNoActionTicks in interface org.bukkit.entity.LivingEntity
    • setNoActionTicks

      public void setNoActionTicks(int i)
      Specified by:
      setNoActionTicks in interface org.bukkit.entity.LivingEntity
    • getKiller

      public org.bukkit.entity.Player getKiller()
      Specified by:
      getKiller in interface org.bukkit.entity.LivingEntity
    • addPotionEffect

      public boolean addPotionEffect(org.bukkit.potion.PotionEffect potionEffect)
      Specified by:
      addPotionEffect in interface org.bukkit.entity.LivingEntity
    • addPotionEffect

      public boolean addPotionEffect(org.bukkit.potion.PotionEffect potionEffect, boolean b)
      Specified by:
      addPotionEffect in interface org.bukkit.entity.LivingEntity
    • addPotionEffects

      public boolean addPotionEffects(Collection<org.bukkit.potion.PotionEffect> collection)
      Specified by:
      addPotionEffects in interface org.bukkit.entity.LivingEntity
    • hasPotionEffect

      public boolean hasPotionEffect(org.bukkit.potion.PotionEffectType potionEffectType)
      Specified by:
      hasPotionEffect in interface org.bukkit.entity.LivingEntity
    • getPotionEffect

      public org.bukkit.potion.PotionEffect getPotionEffect(org.bukkit.potion.PotionEffectType potionEffectType)
      Specified by:
      getPotionEffect in interface org.bukkit.entity.LivingEntity
    • removePotionEffect

      public void removePotionEffect(org.bukkit.potion.PotionEffectType potionEffectType)
      Specified by:
      removePotionEffect in interface org.bukkit.entity.LivingEntity
    • getActivePotionEffects

      public Collection<org.bukkit.potion.PotionEffect> getActivePotionEffects()
      Specified by:
      getActivePotionEffects in interface org.bukkit.entity.LivingEntity
    • hasLineOfSight

      public boolean hasLineOfSight(org.bukkit.entity.Entity entity)
      Specified by:
      hasLineOfSight in interface org.bukkit.entity.LivingEntity
    • getRemoveWhenFarAway

      public boolean getRemoveWhenFarAway()
      Specified by:
      getRemoveWhenFarAway in interface org.bukkit.entity.LivingEntity
    • setRemoveWhenFarAway

      public void setRemoveWhenFarAway(boolean b)
      Specified by:
      setRemoveWhenFarAway in interface org.bukkit.entity.LivingEntity
    • getEquipment

      public org.bukkit.inventory.EntityEquipment getEquipment()
      Specified by:
      getEquipment in interface org.bukkit.entity.LivingEntity
    • getCanPickupItems

      public boolean getCanPickupItems()
      Specified by:
      getCanPickupItems in interface org.bukkit.entity.LivingEntity
    • setCanPickupItems

      public void setCanPickupItems(boolean b)
      Specified by:
      setCanPickupItems in interface org.bukkit.entity.LivingEntity
    • getCustomName

      public String getCustomName()
      Specified by:
      getCustomName in interface org.bukkit.Nameable
    • setCustomName

      public void setCustomName(String s)
      Specified by:
      setCustomName in interface org.bukkit.Nameable
    • isCustomNameVisible

      public boolean isCustomNameVisible()
      Specified by:
      isCustomNameVisible in interface org.bukkit.entity.Entity
    • setVisibleByDefault

      public void setVisibleByDefault(boolean b)
      Specified by:
      setVisibleByDefault in interface org.bukkit.entity.Entity
    • isVisibleByDefault

      public boolean isVisibleByDefault()
      Specified by:
      isVisibleByDefault in interface org.bukkit.entity.Entity
    • getTrackedBy

      @NotNull public Set<org.bukkit.entity.Player> getTrackedBy()
      Specified by:
      getTrackedBy in interface org.bukkit.entity.Entity
    • setCustomNameVisible

      public void setCustomNameVisible(boolean b)
      Specified by:
      setCustomNameVisible in interface org.bukkit.entity.Entity
    • isGlowing

      public boolean isGlowing()
      Specified by:
      isGlowing in interface org.bukkit.entity.Entity
    • setGlowing

      public void setGlowing(boolean b)
      Specified by:
      setGlowing in interface org.bukkit.entity.Entity
    • isInvulnerable

      public boolean isInvulnerable()
      Specified by:
      isInvulnerable in interface org.bukkit.entity.Entity
    • setInvulnerable

      public void setInvulnerable(boolean b)
      Specified by:
      setInvulnerable in interface org.bukkit.entity.Entity
    • isSilent

      public boolean isSilent()
      Specified by:
      isSilent in interface org.bukkit.entity.Entity
    • setSilent

      public void setSilent(boolean b)
      Specified by:
      setSilent in interface org.bukkit.entity.Entity
    • hasGravity

      public boolean hasGravity()
      Specified by:
      hasGravity in interface org.bukkit.entity.Entity
    • setGravity

      public void setGravity(boolean b)
      Specified by:
      setGravity in interface org.bukkit.entity.Entity
    • getPortalCooldown

      public int getPortalCooldown()
      Specified by:
      getPortalCooldown in interface org.bukkit.entity.Entity
    • setPortalCooldown

      public void setPortalCooldown(int i)
      Specified by:
      setPortalCooldown in interface org.bukkit.entity.Entity
    • getScoreboardTags

      public Set<String> getScoreboardTags()
      Specified by:
      getScoreboardTags in interface org.bukkit.entity.Entity
    • addScoreboardTag

      public boolean addScoreboardTag(String s)
      Specified by:
      addScoreboardTag in interface org.bukkit.entity.Entity
    • removeScoreboardTag

      public boolean removeScoreboardTag(String s)
      Specified by:
      removeScoreboardTag in interface org.bukkit.entity.Entity
    • getPistonMoveReaction

      public org.bukkit.block.PistonMoveReaction getPistonMoveReaction()
      Specified by:
      getPistonMoveReaction in interface org.bukkit.entity.Entity
    • getFacing

      @NotNull public org.bukkit.block.BlockFace getFacing()
      Specified by:
      getFacing in interface org.bukkit.entity.Entity
    • getPose

      @NotNull public org.bukkit.entity.Pose getPose()
      Specified by:
      getPose in interface org.bukkit.entity.Entity
    • spigot

      @NotNull public org.bukkit.entity.Entity.Spigot spigot()
      Specified by:
      spigot in interface org.bukkit.command.CommandSender
      Specified by:
      spigot in interface org.bukkit.entity.Entity
    • isLeashed

      public boolean isLeashed()
      Specified by:
      isLeashed in interface org.bukkit.entity.LivingEntity
    • getLeashHolder

      public org.bukkit.entity.Entity getLeashHolder() throws IllegalStateException
      Specified by:
      getLeashHolder in interface org.bukkit.entity.LivingEntity
      Throws:
      IllegalStateException
    • setLeashHolder

      public boolean setLeashHolder(org.bukkit.entity.Entity entity)
      Specified by:
      setLeashHolder in interface org.bukkit.entity.LivingEntity
    • isGliding

      public boolean isGliding()
      Specified by:
      isGliding in interface org.bukkit.entity.LivingEntity
    • setGliding

      public void setGliding(boolean b)
      Specified by:
      setGliding in interface org.bukkit.entity.LivingEntity
    • isSwimming

      public boolean isSwimming()
      Specified by:
      isSwimming in interface org.bukkit.entity.LivingEntity
    • setSwimming

      public void setSwimming(boolean b)
      Specified by:
      setSwimming in interface org.bukkit.entity.LivingEntity
    • isRiptiding

      public boolean isRiptiding()
      Specified by:
      isRiptiding in interface org.bukkit.entity.LivingEntity
    • isSleeping

      public boolean isSleeping()
      Specified by:
      isSleeping in interface org.bukkit.entity.LivingEntity
    • isClimbing

      public boolean isClimbing()
      Specified by:
      isClimbing in interface org.bukkit.entity.LivingEntity
    • setAI

      public void setAI(boolean b)
      Specified by:
      setAI in interface org.bukkit.entity.LivingEntity
    • hasAI

      public boolean hasAI()
      Specified by:
      hasAI in interface org.bukkit.entity.LivingEntity
    • attack

      public void attack(@NotNull org.bukkit.entity.Entity target)
      Specified by:
      attack in interface org.bukkit.entity.LivingEntity
    • swingMainHand

      public void swingMainHand()
      Specified by:
      swingMainHand in interface org.bukkit.entity.LivingEntity
    • swingOffHand

      public void swingOffHand()
      Specified by:
      swingOffHand in interface org.bukkit.entity.LivingEntity
    • playHurtAnimation

      public void playHurtAnimation(float v)
      Specified by:
      playHurtAnimation in interface org.bukkit.entity.LivingEntity
    • isCollidable

      public boolean isCollidable()
      Specified by:
      isCollidable in interface org.bukkit.entity.LivingEntity
    • setCollidable

      public void setCollidable(boolean b)
      Specified by:
      setCollidable in interface org.bukkit.entity.LivingEntity
    • getCollidableExemptions

      @NotNull public Set<UUID> getCollidableExemptions()
      Specified by:
      getCollidableExemptions in interface org.bukkit.entity.LivingEntity
    • getMemory

      @Nullable public <T> T getMemory(@NotNull org.bukkit.entity.memory.MemoryKey<T> memoryKey)
      Specified by:
      getMemory in interface org.bukkit.entity.LivingEntity
    • setMemory

      public <T> void setMemory(@NotNull org.bukkit.entity.memory.MemoryKey<T> memoryKey, @Nullable T memoryValue)
      Specified by:
      setMemory in interface org.bukkit.entity.LivingEntity
    • getHurtSound

      @Nullable public org.bukkit.Sound getHurtSound()
      Specified by:
      getHurtSound in interface org.bukkit.entity.LivingEntity
    • getDeathSound

      @Nullable public org.bukkit.Sound getDeathSound()
      Specified by:
      getDeathSound in interface org.bukkit.entity.LivingEntity
    • getFallDamageSound

      @NotNull public org.bukkit.Sound getFallDamageSound(int i)
      Specified by:
      getFallDamageSound in interface org.bukkit.entity.LivingEntity
    • getFallDamageSoundSmall

      @NotNull public org.bukkit.Sound getFallDamageSoundSmall()
      Specified by:
      getFallDamageSoundSmall in interface org.bukkit.entity.LivingEntity
    • getFallDamageSoundBig

      @NotNull public org.bukkit.Sound getFallDamageSoundBig()
      Specified by:
      getFallDamageSoundBig in interface org.bukkit.entity.LivingEntity
    • getDrinkingSound

      @NotNull public org.bukkit.Sound getDrinkingSound(@NotNull org.bukkit.inventory.ItemStack itemStack)
      Specified by:
      getDrinkingSound in interface org.bukkit.entity.LivingEntity
    • getEatingSound

      @NotNull public org.bukkit.Sound getEatingSound(@NotNull org.bukkit.inventory.ItemStack itemStack)
      Specified by:
      getEatingSound in interface org.bukkit.entity.LivingEntity
    • canBreatheUnderwater

      public boolean canBreatheUnderwater()
      Specified by:
      canBreatheUnderwater in interface org.bukkit.entity.LivingEntity
    • getCategory

      @NotNull public org.bukkit.entity.EntityCategory getCategory()
      Specified by:
      getCategory in interface org.bukkit.entity.LivingEntity
    • isInvisible

      public boolean isInvisible()
      Specified by:
      isInvisible in interface org.bukkit.entity.LivingEntity
    • setInvisible

      public void setInvisible(boolean invisible)
      Specified by:
      setInvisible in interface org.bukkit.entity.LivingEntity
    • damage

      public void damage(double v)
      Specified by:
      damage in interface org.bukkit.entity.Damageable
    • _INVALID_damage

      public void _INVALID_damage(int i)
    • damage

      public void damage(double v, org.bukkit.entity.Entity entity)
      Specified by:
      damage in interface org.bukkit.entity.Damageable
    • damage

      public void damage(double v, @NotNull org.bukkit.damage.DamageSource damageSource)
      Specified by:
      damage in interface org.bukkit.entity.Damageable
    • _INVALID_damage

      public void _INVALID_damage(int i, org.bukkit.entity.Entity entity)
    • getHealth

      public double getHealth()
      Specified by:
      getHealth in interface org.bukkit.entity.Damageable
    • setHealth

      public void setHealth(double v)
      Specified by:
      setHealth in interface org.bukkit.entity.Damageable
    • _INVALID_getHealth

      public int _INVALID_getHealth()
    • getAbsorptionAmount

      public double getAbsorptionAmount()
      Specified by:
      getAbsorptionAmount in interface org.bukkit.entity.Damageable
    • setAbsorptionAmount

      public void setAbsorptionAmount(double v)
      Specified by:
      setAbsorptionAmount in interface org.bukkit.entity.Damageable
    • _INVALID_setHealth

      public void _INVALID_setHealth(int i)
    • getMaxHealth

      public double getMaxHealth()
      Specified by:
      getMaxHealth in interface org.bukkit.entity.Damageable
    • setMaxHealth

      public void setMaxHealth(double v)
      Specified by:
      setMaxHealth in interface org.bukkit.entity.Damageable
    • _INVALID_getMaxHealth

      public int _INVALID_getMaxHealth()
    • _INVALID_setMaxHealth

      public void _INVALID_setMaxHealth(int i)
    • resetMaxHealth

      public void resetMaxHealth()
      Specified by:
      resetMaxHealth in interface org.bukkit.entity.Damageable
    • getLocation

      public org.bukkit.Location getLocation()
      Specified by:
      getLocation in interface org.bukkit.entity.Entity
    • getLocation

      public org.bukkit.Location getLocation(org.bukkit.Location location)
      Specified by:
      getLocation in interface org.bukkit.entity.Entity
    • getVelocity

      public org.bukkit.util.Vector getVelocity()
      Specified by:
      getVelocity in interface org.bukkit.entity.Entity
    • setVelocity

      public void setVelocity(org.bukkit.util.Vector vector)
      Specified by:
      setVelocity in interface org.bukkit.entity.Entity
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in interface org.bukkit.entity.Entity
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in interface org.bukkit.entity.Entity
    • getBoundingBox

      @NotNull public org.bukkit.util.BoundingBox getBoundingBox()
      Specified by:
      getBoundingBox in interface org.bukkit.entity.Entity
    • isOnGround

      public boolean isOnGround()
      Specified by:
      isOnGround in interface org.bukkit.entity.Entity
    • isInWater

      public boolean isInWater()
      Specified by:
      isInWater in interface org.bukkit.entity.Entity
    • getWorld

      public org.bukkit.World getWorld()
      Specified by:
      getWorld in interface org.bukkit.entity.Entity
    • setRotation

      public void setRotation(float yaw, float pitch)
      Specified by:
      setRotation in interface org.bukkit.entity.Entity
    • teleport

      public boolean teleport(org.bukkit.Location location)
      Specified by:
      teleport in interface org.bukkit.entity.Entity
    • teleport

      public boolean teleport(org.bukkit.Location location, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause)
      Specified by:
      teleport in interface org.bukkit.entity.Entity
    • teleport

      public boolean teleport(org.bukkit.entity.Entity entity)
      Specified by:
      teleport in interface org.bukkit.entity.Entity
    • teleport

      public boolean teleport(org.bukkit.entity.Entity entity, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause)
      Specified by:
      teleport in interface org.bukkit.entity.Entity
    • getNearbyEntities

      public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z)
      Specified by:
      getNearbyEntities in interface org.bukkit.entity.Entity
    • getEntityId

      public int getEntityId()
      Specified by:
      getEntityId in interface org.bukkit.entity.Entity
    • getFireTicks

      public int getFireTicks()
      Specified by:
      getFireTicks in interface org.bukkit.entity.Entity
    • setFireTicks

      public void setFireTicks(int i)
      Specified by:
      setFireTicks in interface org.bukkit.entity.Entity
    • getMaxFireTicks

      public int getMaxFireTicks()
      Specified by:
      getMaxFireTicks in interface org.bukkit.entity.Entity
    • isVisualFire

      public boolean isVisualFire()
      Specified by:
      isVisualFire in interface org.bukkit.entity.Entity
    • setVisualFire

      public void setVisualFire(boolean b)
      Specified by:
      setVisualFire in interface org.bukkit.entity.Entity
    • getFreezeTicks

      public int getFreezeTicks()
      Specified by:
      getFreezeTicks in interface org.bukkit.entity.Entity
    • setFreezeTicks

      public void setFreezeTicks(int i)
      Specified by:
      setFreezeTicks in interface org.bukkit.entity.Entity
    • getMaxFreezeTicks

      public int getMaxFreezeTicks()
      Specified by:
      getMaxFreezeTicks in interface org.bukkit.entity.Entity
    • isFrozen

      public boolean isFrozen()
      Specified by:
      isFrozen in interface org.bukkit.entity.Entity
    • remove

      public void remove()
      Specified by:
      remove in interface org.bukkit.entity.Entity
    • isDead

      public boolean isDead()
      Specified by:
      isDead in interface org.bukkit.entity.Entity
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface org.bukkit.entity.Entity
    • sendMessage

      public void sendMessage(@NotNull String s)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(String[] strings)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(@Nullable UUID sender, @NotNull String message)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(@Nullable UUID sender, @NotNull String[] messages)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • getServer

      @NotNull public org.bukkit.Server getServer()
      Specified by:
      getServer in interface org.bukkit.command.CommandSender
      Specified by:
      getServer in interface org.bukkit.entity.Entity
    • isPersistent

      public boolean isPersistent()
      Specified by:
      isPersistent in interface org.bukkit.entity.Entity
    • setPersistent

      public void setPersistent(boolean persistent)
      Specified by:
      setPersistent in interface org.bukkit.entity.Entity
    • getName

      @NotNull public String getName()
      Specified by:
      getName in interface org.bukkit.command.CommandSender
    • getPassenger

      public org.bukkit.entity.Entity getPassenger()
      Specified by:
      getPassenger in interface org.bukkit.entity.Entity
    • setPassenger

      public boolean setPassenger(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      setPassenger in interface org.bukkit.entity.Entity
    • getPassengers

      @NotNull public List<org.bukkit.entity.Entity> getPassengers()
      Specified by:
      getPassengers in interface org.bukkit.entity.Entity
    • addPassenger

      public boolean addPassenger(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      addPassenger in interface org.bukkit.entity.Entity
    • removePassenger

      public boolean removePassenger(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      removePassenger in interface org.bukkit.entity.Entity
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.bukkit.entity.Entity
    • eject

      public boolean eject()
      Specified by:
      eject in interface org.bukkit.entity.Entity
    • getFallDistance

      public float getFallDistance()
      Specified by:
      getFallDistance in interface org.bukkit.entity.Entity
    • setFallDistance

      public void setFallDistance(float v)
      Specified by:
      setFallDistance in interface org.bukkit.entity.Entity
    • getLastDamageCause

      public org.bukkit.event.entity.EntityDamageEvent getLastDamageCause()
      Specified by:
      getLastDamageCause in interface org.bukkit.entity.Entity
    • setLastDamageCause

      public void setLastDamageCause(org.bukkit.event.entity.EntityDamageEvent entityDamageEvent)
      Specified by:
      setLastDamageCause in interface org.bukkit.entity.Entity
    • getUniqueId

      public UUID getUniqueId()
      Specified by:
      getUniqueId in interface org.bukkit.entity.Entity
    • getTicksLived

      public int getTicksLived()
      Specified by:
      getTicksLived in interface org.bukkit.entity.Entity
    • setTicksLived

      public void setTicksLived(int i)
      Specified by:
      setTicksLived in interface org.bukkit.entity.Entity
    • getSpawnCategory

      @NotNull public org.bukkit.entity.SpawnCategory getSpawnCategory()
      Specified by:
      getSpawnCategory in interface org.bukkit.entity.Entity
    • isInWorld

      public boolean isInWorld()
      Specified by:
      isInWorld in interface org.bukkit.entity.Entity
    • getAsString

      @Nullable public String getAsString()
      Specified by:
      getAsString in interface org.bukkit.entity.Entity
    • createSnapshot

      @Nullable public org.bukkit.entity.EntitySnapshot createSnapshot()
      Specified by:
      createSnapshot in interface org.bukkit.entity.Entity
    • copy

      @NotNull public org.bukkit.entity.Entity copy()
      Specified by:
      copy in interface org.bukkit.entity.Entity
    • copy

      @NotNull public org.bukkit.entity.Entity copy(@NotNull org.bukkit.Location location)
      Specified by:
      copy in interface org.bukkit.entity.Entity
    • playEffect

      public void playEffect(org.bukkit.EntityEffect entityEffect)
      Specified by:
      playEffect in interface org.bukkit.entity.Entity
    • getType

      public org.bukkit.entity.EntityType getType()
      Specified by:
      getType in interface org.bukkit.entity.Entity
    • getSwimSound

      @NotNull public org.bukkit.Sound getSwimSound()
      Specified by:
      getSwimSound in interface org.bukkit.entity.Entity
    • getSwimSplashSound

      @NotNull public org.bukkit.Sound getSwimSplashSound()
      Specified by:
      getSwimSplashSound in interface org.bukkit.entity.Entity
    • getSwimHighSpeedSplashSound

      @NotNull public org.bukkit.Sound getSwimHighSpeedSplashSound()
      Specified by:
      getSwimHighSpeedSplashSound in interface org.bukkit.entity.Entity
    • isInsideVehicle

      public boolean isInsideVehicle()
      Specified by:
      isInsideVehicle in interface org.bukkit.entity.Entity
    • leaveVehicle

      public boolean leaveVehicle()
      Specified by:
      leaveVehicle in interface org.bukkit.entity.Entity
    • getVehicle

      public org.bukkit.entity.Entity getVehicle()
      Specified by:
      getVehicle in interface org.bukkit.entity.Entity
    • setMetadata

      public void setMetadata(String s, org.bukkit.metadata.MetadataValue metadataValue)
      Specified by:
      setMetadata in interface org.bukkit.metadata.Metadatable
    • getMetadata

      public List<org.bukkit.metadata.MetadataValue> getMetadata(String s)
      Specified by:
      getMetadata in interface org.bukkit.metadata.Metadatable
    • hasMetadata

      public boolean hasMetadata(String s)
      Specified by:
      hasMetadata in interface org.bukkit.metadata.Metadatable
    • removeMetadata

      public void removeMetadata(String s, org.bukkit.plugin.Plugin plugin)
      Specified by:
      removeMetadata in interface org.bukkit.metadata.Metadatable
    • launchProjectile

      public <T extends org.bukkit.entity.Projectile> T launchProjectile(Class<? extends T> aClass)
      Specified by:
      launchProjectile in interface org.bukkit.projectiles.ProjectileSource
    • launchProjectile

      public <T extends org.bukkit.entity.Projectile> T launchProjectile(Class<? extends T> aClass, org.bukkit.util.Vector vector)
      Specified by:
      launchProjectile in interface org.bukkit.projectiles.ProjectileSource
    • isPermissionSet

      public boolean isPermissionSet(String s)
      Specified by:
      isPermissionSet in interface org.bukkit.permissions.Permissible
    • isPermissionSet

      public boolean isPermissionSet(org.bukkit.permissions.Permission permission)
      Specified by:
      isPermissionSet in interface org.bukkit.permissions.Permissible
    • hasPermission

      public boolean hasPermission(String s)
      Specified by:
      hasPermission in interface org.bukkit.permissions.Permissible
    • hasPermission

      public boolean hasPermission(org.bukkit.permissions.Permission permission)
      Specified by:
      hasPermission in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String s, boolean b)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String s, boolean b, int i)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int i)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • removeAttachment

      public void removeAttachment(org.bukkit.permissions.PermissionAttachment permissionAttachment)
      Specified by:
      removeAttachment in interface org.bukkit.permissions.Permissible
    • recalculatePermissions

      public void recalculatePermissions()
      Specified by:
      recalculatePermissions in interface org.bukkit.permissions.Permissible
    • getEffectivePermissions

      public Set<org.bukkit.permissions.PermissionAttachmentInfo> getEffectivePermissions()
      Specified by:
      getEffectivePermissions in interface org.bukkit.permissions.Permissible
    • isOp

      public boolean isOp()
      Specified by:
      isOp in interface org.bukkit.permissions.ServerOperator
    • setOp

      public void setOp(boolean b)
      Specified by:
      setOp in interface org.bukkit.permissions.ServerOperator
    • getAttribute

      public org.bukkit.attribute.AttributeInstance getAttribute(org.bukkit.attribute.Attribute attribute)
      Specified by:
      getAttribute in interface org.bukkit.attribute.Attributable
    • getPersistentDataContainer

      @NotNull public org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
      Specified by:
      getPersistentDataContainer in interface org.bukkit.persistence.PersistentDataHolder