Package studio.magemonkey.fabled.dynamic
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
Temporary dummy entity used for targeting a location in the dynamic system
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.entity.Entity
org.bukkit.entity.Entity.Spigot
-
Constructor Summary
ConstructorsConstructorDescriptionTempEntity
(org.bukkit.Location loc) Sets up a new dummy entityTempEntity
(EffectTarget target) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_INVALID_damage
(int i) void
_INVALID_damage
(int i, org.bukkit.entity.Entity entity) int
int
int
void
_INVALID_setHealth
(int i) void
_INVALID_setLastDamage
(int i) void
_INVALID_setMaxHealth
(int i) org.bukkit.permissions.PermissionAttachment
addAttachment
(org.bukkit.plugin.Plugin plugin) org.bukkit.permissions.PermissionAttachment
addAttachment
(org.bukkit.plugin.Plugin plugin, int i) org.bukkit.permissions.PermissionAttachment
addAttachment
(org.bukkit.plugin.Plugin plugin, String s, boolean b) org.bukkit.permissions.PermissionAttachment
addAttachment
(org.bukkit.plugin.Plugin plugin, String s, boolean b, int i) boolean
addPassenger
(org.bukkit.entity.Entity entity) boolean
addPotionEffect
(org.bukkit.potion.PotionEffect potionEffect) boolean
addPotionEffect
(org.bukkit.potion.PotionEffect potionEffect, boolean b) boolean
addPotionEffects
(Collection<org.bukkit.potion.PotionEffect> collection) boolean
void
attack
(org.bukkit.entity.Entity target) boolean
org.bukkit.entity.Entity
copy()
org.bukkit.entity.Entity
copy
(org.bukkit.Location location) org.bukkit.entity.EntitySnapshot
void
damage
(double v) void
damage
(double v, org.bukkit.damage.DamageSource damageSource) void
damage
(double v, org.bukkit.entity.Entity entity) boolean
eject()
double
Collection
<org.bukkit.potion.PotionEffect> int
int
org.bukkit.attribute.AttributeInstance
getAttribute
(org.bukkit.attribute.Attribute attribute) org.bukkit.util.BoundingBox
boolean
org.bukkit.entity.EntityCategory
org.bukkit.Sound
org.bukkit.Sound
getDrinkingSound
(org.bukkit.inventory.ItemStack itemStack) org.bukkit.Sound
getEatingSound
(org.bukkit.inventory.ItemStack itemStack) Set
<org.bukkit.permissions.PermissionAttachmentInfo> int
org.bukkit.inventory.EntityEquipment
double
double
getEyeHeight
(boolean b) org.bukkit.Location
org.bukkit.block.BlockFace
org.bukkit.Sound
getFallDamageSound
(int i) org.bukkit.Sound
org.bukkit.Sound
float
int
int
double
double
org.bukkit.Sound
org.bukkit.inventory.ItemStack
int
org.bukkit.entity.Player
double
org.bukkit.event.entity.EntityDamageEvent
List
<org.bukkit.block.Block> getLastTwoTargetBlocks
(HashSet<Byte> hashSet, int i) List
<org.bukkit.block.Block> getLastTwoTargetBlocks
(Set<org.bukkit.Material> set, int i) org.bukkit.entity.Entity
List
<org.bukkit.block.Block> getLineOfSight
(HashSet<Byte> hashSet, int i) List
<org.bukkit.block.Block> getLineOfSight
(Set<org.bukkit.Material> set, int i) org.bukkit.Location
org.bukkit.Location
getLocation
(org.bukkit.Location location) int
int
double
int
int
<T> T
getMemory
(org.bukkit.entity.memory.MemoryKey<T> memoryKey) List
<org.bukkit.metadata.MetadataValue> getName()
List
<org.bukkit.entity.Entity> getNearbyEntities
(double x, double y, double z) int
int
org.bukkit.entity.Entity
List
<org.bukkit.entity.Entity> org.bukkit.persistence.PersistentDataContainer
org.bukkit.block.PistonMoveReaction
int
org.bukkit.entity.Pose
getPose()
org.bukkit.potion.PotionEffect
getPotionEffect
(org.bukkit.potion.PotionEffectType potionEffectType) int
boolean
org.bukkit.Server
org.bukkit.entity.SpawnCategory
org.bukkit.Sound
org.bukkit.Sound
org.bukkit.Sound
org.bukkit.block.Block
getTargetBlock
(HashSet<Byte> hashSet, int i) org.bukkit.block.Block
getTargetBlock
(Set<org.bukkit.Material> set, int i) org.bukkit.block.Block
getTargetBlockExact
(int maxDistance) org.bukkit.block.Block
getTargetBlockExact
(int maxDistance, org.bukkit.FluidCollisionMode fluidCollisionMode) int
Set
<org.bukkit.entity.Player> org.bukkit.entity.EntityType
getType()
org.bukkit.entity.Entity
org.bukkit.util.Vector
double
getWidth()
org.bukkit.World
getWorld()
boolean
hasAI()
boolean
boolean
hasLineOfSight
(org.bukkit.entity.Entity entity) boolean
boolean
boolean
hasPermission
(org.bukkit.permissions.Permission permission) boolean
hasPotionEffect
(org.bukkit.potion.PotionEffectType potionEffectType) boolean
boolean
boolean
boolean
isDead()
boolean
isEmpty()
boolean
isFrozen()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOp()
boolean
boolean
isPermissionSet
(org.bukkit.permissions.Permission permission) boolean
boolean
boolean
isSilent()
boolean
boolean
boolean
isValid()
boolean
boolean
<T extends org.bukkit.entity.Projectile>
TlaunchProjectile
(Class<? extends T> aClass) <T extends org.bukkit.entity.Projectile>
TlaunchProjectile
(Class<? extends T> aClass, org.bukkit.util.Vector vector) boolean
void
playEffect
(org.bukkit.EntityEffect entityEffect) void
playHurtAnimation
(float v) org.bukkit.util.RayTraceResult
rayTraceBlocks
(double maxDistance) org.bukkit.util.RayTraceResult
rayTraceBlocks
(double maxDistance, org.bukkit.FluidCollisionMode fluidCollisionMode) void
void
remove()
void
removeAttachment
(org.bukkit.permissions.PermissionAttachment permissionAttachment) void
removeMetadata
(String s, org.bukkit.plugin.Plugin plugin) boolean
removePassenger
(org.bukkit.entity.Entity entity) void
removePotionEffect
(org.bukkit.potion.PotionEffectType potionEffectType) boolean
void
void
void
sendMessage
(String[] strings) void
sendMessage
(UUID sender, String message) void
sendMessage
(UUID sender, String[] messages) void
setAbsorptionAmount
(double v) void
setAI
(boolean b) void
setArrowCooldown
(int ticks) void
setArrowsInBody
(int count) void
setCanPickupItems
(boolean b) void
setCollidable
(boolean b) void
void
setCustomNameVisible
(boolean b) void
setFallDistance
(float v) void
setFireTicks
(int i) void
setFreezeTicks
(int i) void
setGliding
(boolean b) void
setGlowing
(boolean b) void
setGravity
(boolean b) void
setHealth
(double v) void
setInvisible
(boolean invisible) void
setInvulnerable
(boolean b) void
setItemInUseTicks
(int i) void
setLastDamage
(double v) void
setLastDamageCause
(org.bukkit.event.entity.EntityDamageEvent entityDamageEvent) boolean
setLeashHolder
(org.bukkit.entity.Entity entity) void
setMaxHealth
(double v) void
setMaximumAir
(int i) void
setMaximumNoDamageTicks
(int i) <T> void
setMemory
(org.bukkit.entity.memory.MemoryKey<T> memoryKey, T memoryValue) void
setMetadata
(String s, org.bukkit.metadata.MetadataValue metadataValue) void
setNoActionTicks
(int i) void
setNoDamageTicks
(int i) void
setOp
(boolean b) boolean
setPassenger
(org.bukkit.entity.Entity entity) void
setPersistent
(boolean persistent) void
setPortalCooldown
(int i) void
setRemainingAir
(int i) void
setRemoveWhenFarAway
(boolean b) void
setRotation
(float yaw, float pitch) void
setSilent
(boolean b) void
setSwimming
(boolean b) void
setTicksLived
(int i) void
setVelocity
(org.bukkit.util.Vector vector) void
setVisibleByDefault
(boolean b) void
setVisualFire
(boolean b) org.bukkit.entity.Arrow
org.bukkit.entity.Entity.Spigot
spigot()
void
void
boolean
teleport
(org.bukkit.entity.Entity entity) boolean
teleport
(org.bukkit.entity.Entity entity, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause) boolean
teleport
(org.bukkit.Location location) boolean
teleport
(org.bukkit.Location location, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause) org.bukkit.entity.Egg
throwEgg()
org.bukkit.entity.Snowball
-
Constructor Details
-
TempEntity
public TempEntity(org.bukkit.Location loc) Sets up a new dummy entity- Parameters:
loc
- location to represent
-
TempEntity
-
-
Method Details
-
getEyeHeight
public double getEyeHeight()- Specified by:
getEyeHeight
in interfaceorg.bukkit.entity.LivingEntity
-
getEyeHeight
public double getEyeHeight(boolean b) - Specified by:
getEyeHeight
in interfaceorg.bukkit.entity.LivingEntity
-
getEyeLocation
@NotNull public org.bukkit.Location getEyeLocation()- Specified by:
getEyeLocation
in interfaceorg.bukkit.entity.LivingEntity
-
getLineOfSight
-
getLineOfSight
- Specified by:
getLineOfSight
in interfaceorg.bukkit.entity.LivingEntity
-
getTargetBlock
-
getTargetBlock
- Specified by:
getTargetBlock
in interfaceorg.bukkit.entity.LivingEntity
-
getLastTwoTargetBlocks
-
getLastTwoTargetBlocks
@NotNull public List<org.bukkit.block.Block> getLastTwoTargetBlocks(Set<org.bukkit.Material> set, int i) - Specified by:
getLastTwoTargetBlocks
in interfaceorg.bukkit.entity.LivingEntity
-
getTargetBlockExact
@Nullable public org.bukkit.block.Block getTargetBlockExact(int maxDistance) - Specified by:
getTargetBlockExact
in interfaceorg.bukkit.entity.LivingEntity
-
getTargetBlockExact
@Nullable public org.bukkit.block.Block getTargetBlockExact(int maxDistance, @NotNull org.bukkit.FluidCollisionMode fluidCollisionMode) - Specified by:
getTargetBlockExact
in interfaceorg.bukkit.entity.LivingEntity
-
rayTraceBlocks
@Nullable public org.bukkit.util.RayTraceResult rayTraceBlocks(double maxDistance) - Specified by:
rayTraceBlocks
in interfaceorg.bukkit.entity.LivingEntity
-
rayTraceBlocks
@Nullable public org.bukkit.util.RayTraceResult rayTraceBlocks(double maxDistance, @NotNull org.bukkit.FluidCollisionMode fluidCollisionMode) - Specified by:
rayTraceBlocks
in interfaceorg.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 interfaceorg.bukkit.entity.LivingEntity
-
setRemainingAir
public void setRemainingAir(int i) - Specified by:
setRemainingAir
in interfaceorg.bukkit.entity.LivingEntity
-
getMaximumAir
public int getMaximumAir()- Specified by:
getMaximumAir
in interfaceorg.bukkit.entity.LivingEntity
-
setMaximumAir
public void setMaximumAir(int i) - Specified by:
setMaximumAir
in interfaceorg.bukkit.entity.LivingEntity
-
getItemInUse
@Nullable public org.bukkit.inventory.ItemStack getItemInUse()- Specified by:
getItemInUse
in interfaceorg.bukkit.entity.LivingEntity
-
getItemInUseTicks
public int getItemInUseTicks()- Specified by:
getItemInUseTicks
in interfaceorg.bukkit.entity.LivingEntity
-
setItemInUseTicks
public void setItemInUseTicks(int i) - Specified by:
setItemInUseTicks
in interfaceorg.bukkit.entity.LivingEntity
-
getArrowCooldown
public int getArrowCooldown()- Specified by:
getArrowCooldown
in interfaceorg.bukkit.entity.LivingEntity
-
setArrowCooldown
public void setArrowCooldown(int ticks) - Specified by:
setArrowCooldown
in interfaceorg.bukkit.entity.LivingEntity
-
getArrowsInBody
public int getArrowsInBody()- Specified by:
getArrowsInBody
in interfaceorg.bukkit.entity.LivingEntity
-
setArrowsInBody
public void setArrowsInBody(int count) - Specified by:
setArrowsInBody
in interfaceorg.bukkit.entity.LivingEntity
-
getMaximumNoDamageTicks
public int getMaximumNoDamageTicks()- Specified by:
getMaximumNoDamageTicks
in interfaceorg.bukkit.entity.LivingEntity
-
setMaximumNoDamageTicks
public void setMaximumNoDamageTicks(int i) - Specified by:
setMaximumNoDamageTicks
in interfaceorg.bukkit.entity.LivingEntity
-
getLastDamage
public double getLastDamage()- Specified by:
getLastDamage
in interfaceorg.bukkit.entity.LivingEntity
-
setLastDamage
public void setLastDamage(double v) - Specified by:
setLastDamage
in interfaceorg.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 interfaceorg.bukkit.entity.LivingEntity
-
setNoDamageTicks
public void setNoDamageTicks(int i) - Specified by:
setNoDamageTicks
in interfaceorg.bukkit.entity.LivingEntity
-
getNoActionTicks
public int getNoActionTicks()- Specified by:
getNoActionTicks
in interfaceorg.bukkit.entity.LivingEntity
-
setNoActionTicks
public void setNoActionTicks(int i) - Specified by:
setNoActionTicks
in interfaceorg.bukkit.entity.LivingEntity
-
getKiller
public org.bukkit.entity.Player getKiller()- Specified by:
getKiller
in interfaceorg.bukkit.entity.LivingEntity
-
addPotionEffect
public boolean addPotionEffect(org.bukkit.potion.PotionEffect potionEffect) - Specified by:
addPotionEffect
in interfaceorg.bukkit.entity.LivingEntity
-
addPotionEffect
public boolean addPotionEffect(org.bukkit.potion.PotionEffect potionEffect, boolean b) - Specified by:
addPotionEffect
in interfaceorg.bukkit.entity.LivingEntity
-
addPotionEffects
- Specified by:
addPotionEffects
in interfaceorg.bukkit.entity.LivingEntity
-
hasPotionEffect
public boolean hasPotionEffect(org.bukkit.potion.PotionEffectType potionEffectType) - Specified by:
hasPotionEffect
in interfaceorg.bukkit.entity.LivingEntity
-
getPotionEffect
public org.bukkit.potion.PotionEffect getPotionEffect(org.bukkit.potion.PotionEffectType potionEffectType) - Specified by:
getPotionEffect
in interfaceorg.bukkit.entity.LivingEntity
-
removePotionEffect
public void removePotionEffect(org.bukkit.potion.PotionEffectType potionEffectType) - Specified by:
removePotionEffect
in interfaceorg.bukkit.entity.LivingEntity
-
getActivePotionEffects
- Specified by:
getActivePotionEffects
in interfaceorg.bukkit.entity.LivingEntity
-
hasLineOfSight
public boolean hasLineOfSight(org.bukkit.entity.Entity entity) - Specified by:
hasLineOfSight
in interfaceorg.bukkit.entity.LivingEntity
-
getRemoveWhenFarAway
public boolean getRemoveWhenFarAway()- Specified by:
getRemoveWhenFarAway
in interfaceorg.bukkit.entity.LivingEntity
-
setRemoveWhenFarAway
public void setRemoveWhenFarAway(boolean b) - Specified by:
setRemoveWhenFarAway
in interfaceorg.bukkit.entity.LivingEntity
-
getEquipment
public org.bukkit.inventory.EntityEquipment getEquipment()- Specified by:
getEquipment
in interfaceorg.bukkit.entity.LivingEntity
-
getCanPickupItems
public boolean getCanPickupItems()- Specified by:
getCanPickupItems
in interfaceorg.bukkit.entity.LivingEntity
-
setCanPickupItems
public void setCanPickupItems(boolean b) - Specified by:
setCanPickupItems
in interfaceorg.bukkit.entity.LivingEntity
-
getCustomName
- Specified by:
getCustomName
in interfaceorg.bukkit.Nameable
-
setCustomName
- Specified by:
setCustomName
in interfaceorg.bukkit.Nameable
-
isCustomNameVisible
public boolean isCustomNameVisible()- Specified by:
isCustomNameVisible
in interfaceorg.bukkit.entity.Entity
-
setVisibleByDefault
public void setVisibleByDefault(boolean b) - Specified by:
setVisibleByDefault
in interfaceorg.bukkit.entity.Entity
-
isVisibleByDefault
public boolean isVisibleByDefault()- Specified by:
isVisibleByDefault
in interfaceorg.bukkit.entity.Entity
-
getTrackedBy
- Specified by:
getTrackedBy
in interfaceorg.bukkit.entity.Entity
-
setCustomNameVisible
public void setCustomNameVisible(boolean b) - Specified by:
setCustomNameVisible
in interfaceorg.bukkit.entity.Entity
-
isGlowing
public boolean isGlowing()- Specified by:
isGlowing
in interfaceorg.bukkit.entity.Entity
-
setGlowing
public void setGlowing(boolean b) - Specified by:
setGlowing
in interfaceorg.bukkit.entity.Entity
-
isInvulnerable
public boolean isInvulnerable()- Specified by:
isInvulnerable
in interfaceorg.bukkit.entity.Entity
-
setInvulnerable
public void setInvulnerable(boolean b) - Specified by:
setInvulnerable
in interfaceorg.bukkit.entity.Entity
-
isSilent
public boolean isSilent()- Specified by:
isSilent
in interfaceorg.bukkit.entity.Entity
-
setSilent
public void setSilent(boolean b) - Specified by:
setSilent
in interfaceorg.bukkit.entity.Entity
-
hasGravity
public boolean hasGravity()- Specified by:
hasGravity
in interfaceorg.bukkit.entity.Entity
-
setGravity
public void setGravity(boolean b) - Specified by:
setGravity
in interfaceorg.bukkit.entity.Entity
-
getPortalCooldown
public int getPortalCooldown()- Specified by:
getPortalCooldown
in interfaceorg.bukkit.entity.Entity
-
setPortalCooldown
public void setPortalCooldown(int i) - Specified by:
setPortalCooldown
in interfaceorg.bukkit.entity.Entity
-
getScoreboardTags
- Specified by:
getScoreboardTags
in interfaceorg.bukkit.entity.Entity
-
addScoreboardTag
- Specified by:
addScoreboardTag
in interfaceorg.bukkit.entity.Entity
-
removeScoreboardTag
- Specified by:
removeScoreboardTag
in interfaceorg.bukkit.entity.Entity
-
getPistonMoveReaction
public org.bukkit.block.PistonMoveReaction getPistonMoveReaction()- Specified by:
getPistonMoveReaction
in interfaceorg.bukkit.entity.Entity
-
getFacing
@NotNull public org.bukkit.block.BlockFace getFacing()- Specified by:
getFacing
in interfaceorg.bukkit.entity.Entity
-
getPose
@NotNull public org.bukkit.entity.Pose getPose()- Specified by:
getPose
in interfaceorg.bukkit.entity.Entity
-
spigot
@NotNull public org.bukkit.entity.Entity.Spigot spigot()- Specified by:
spigot
in interfaceorg.bukkit.command.CommandSender
- Specified by:
spigot
in interfaceorg.bukkit.entity.Entity
-
isLeashed
public boolean isLeashed()- Specified by:
isLeashed
in interfaceorg.bukkit.entity.LivingEntity
-
getLeashHolder
- Specified by:
getLeashHolder
in interfaceorg.bukkit.entity.LivingEntity
- Throws:
IllegalStateException
-
setLeashHolder
public boolean setLeashHolder(org.bukkit.entity.Entity entity) - Specified by:
setLeashHolder
in interfaceorg.bukkit.entity.LivingEntity
-
isGliding
public boolean isGliding()- Specified by:
isGliding
in interfaceorg.bukkit.entity.LivingEntity
-
setGliding
public void setGliding(boolean b) - Specified by:
setGliding
in interfaceorg.bukkit.entity.LivingEntity
-
isSwimming
public boolean isSwimming()- Specified by:
isSwimming
in interfaceorg.bukkit.entity.LivingEntity
-
setSwimming
public void setSwimming(boolean b) - Specified by:
setSwimming
in interfaceorg.bukkit.entity.LivingEntity
-
isRiptiding
public boolean isRiptiding()- Specified by:
isRiptiding
in interfaceorg.bukkit.entity.LivingEntity
-
isSleeping
public boolean isSleeping()- Specified by:
isSleeping
in interfaceorg.bukkit.entity.LivingEntity
-
isClimbing
public boolean isClimbing()- Specified by:
isClimbing
in interfaceorg.bukkit.entity.LivingEntity
-
setAI
public void setAI(boolean b) - Specified by:
setAI
in interfaceorg.bukkit.entity.LivingEntity
-
hasAI
public boolean hasAI()- Specified by:
hasAI
in interfaceorg.bukkit.entity.LivingEntity
-
attack
public void attack(@NotNull org.bukkit.entity.Entity target) - Specified by:
attack
in interfaceorg.bukkit.entity.LivingEntity
-
swingMainHand
public void swingMainHand()- Specified by:
swingMainHand
in interfaceorg.bukkit.entity.LivingEntity
-
swingOffHand
public void swingOffHand()- Specified by:
swingOffHand
in interfaceorg.bukkit.entity.LivingEntity
-
playHurtAnimation
public void playHurtAnimation(float v) - Specified by:
playHurtAnimation
in interfaceorg.bukkit.entity.LivingEntity
-
isCollidable
public boolean isCollidable()- Specified by:
isCollidable
in interfaceorg.bukkit.entity.LivingEntity
-
setCollidable
public void setCollidable(boolean b) - Specified by:
setCollidable
in interfaceorg.bukkit.entity.LivingEntity
-
getCollidableExemptions
- Specified by:
getCollidableExemptions
in interfaceorg.bukkit.entity.LivingEntity
-
getMemory
@Nullable public <T> T getMemory(@NotNull org.bukkit.entity.memory.MemoryKey<T> memoryKey) - Specified by:
getMemory
in interfaceorg.bukkit.entity.LivingEntity
-
setMemory
public <T> void setMemory(@NotNull org.bukkit.entity.memory.MemoryKey<T> memoryKey, @Nullable T memoryValue) - Specified by:
setMemory
in interfaceorg.bukkit.entity.LivingEntity
-
getHurtSound
@Nullable public org.bukkit.Sound getHurtSound()- Specified by:
getHurtSound
in interfaceorg.bukkit.entity.LivingEntity
-
getDeathSound
@Nullable public org.bukkit.Sound getDeathSound()- Specified by:
getDeathSound
in interfaceorg.bukkit.entity.LivingEntity
-
getFallDamageSound
@NotNull public org.bukkit.Sound getFallDamageSound(int i) - Specified by:
getFallDamageSound
in interfaceorg.bukkit.entity.LivingEntity
-
getFallDamageSoundSmall
@NotNull public org.bukkit.Sound getFallDamageSoundSmall()- Specified by:
getFallDamageSoundSmall
in interfaceorg.bukkit.entity.LivingEntity
-
getFallDamageSoundBig
@NotNull public org.bukkit.Sound getFallDamageSoundBig()- Specified by:
getFallDamageSoundBig
in interfaceorg.bukkit.entity.LivingEntity
-
getDrinkingSound
@NotNull public org.bukkit.Sound getDrinkingSound(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getDrinkingSound
in interfaceorg.bukkit.entity.LivingEntity
-
getEatingSound
@NotNull public org.bukkit.Sound getEatingSound(@NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
getEatingSound
in interfaceorg.bukkit.entity.LivingEntity
-
canBreatheUnderwater
public boolean canBreatheUnderwater()- Specified by:
canBreatheUnderwater
in interfaceorg.bukkit.entity.LivingEntity
-
getCategory
@NotNull public org.bukkit.entity.EntityCategory getCategory()- Specified by:
getCategory
in interfaceorg.bukkit.entity.LivingEntity
-
isInvisible
public boolean isInvisible()- Specified by:
isInvisible
in interfaceorg.bukkit.entity.LivingEntity
-
setInvisible
public void setInvisible(boolean invisible) - Specified by:
setInvisible
in interfaceorg.bukkit.entity.LivingEntity
-
damage
public void damage(double v) - Specified by:
damage
in interfaceorg.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 interfaceorg.bukkit.entity.Damageable
-
damage
public void damage(double v, @NotNull org.bukkit.damage.DamageSource damageSource) - Specified by:
damage
in interfaceorg.bukkit.entity.Damageable
-
_INVALID_damage
public void _INVALID_damage(int i, org.bukkit.entity.Entity entity) -
getHealth
public double getHealth()- Specified by:
getHealth
in interfaceorg.bukkit.entity.Damageable
-
setHealth
public void setHealth(double v) - Specified by:
setHealth
in interfaceorg.bukkit.entity.Damageable
-
_INVALID_getHealth
public int _INVALID_getHealth() -
getAbsorptionAmount
public double getAbsorptionAmount()- Specified by:
getAbsorptionAmount
in interfaceorg.bukkit.entity.Damageable
-
setAbsorptionAmount
public void setAbsorptionAmount(double v) - Specified by:
setAbsorptionAmount
in interfaceorg.bukkit.entity.Damageable
-
_INVALID_setHealth
public void _INVALID_setHealth(int i) -
getMaxHealth
public double getMaxHealth()- Specified by:
getMaxHealth
in interfaceorg.bukkit.entity.Damageable
-
setMaxHealth
public void setMaxHealth(double v) - Specified by:
setMaxHealth
in interfaceorg.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 interfaceorg.bukkit.entity.Damageable
-
getLocation
public org.bukkit.Location getLocation()- Specified by:
getLocation
in interfaceorg.bukkit.entity.Entity
-
getLocation
public org.bukkit.Location getLocation(org.bukkit.Location location) - Specified by:
getLocation
in interfaceorg.bukkit.entity.Entity
-
getVelocity
public org.bukkit.util.Vector getVelocity()- Specified by:
getVelocity
in interfaceorg.bukkit.entity.Entity
-
setVelocity
public void setVelocity(org.bukkit.util.Vector vector) - Specified by:
setVelocity
in interfaceorg.bukkit.entity.Entity
-
getHeight
public double getHeight()- Specified by:
getHeight
in interfaceorg.bukkit.entity.Entity
-
getWidth
public double getWidth()- Specified by:
getWidth
in interfaceorg.bukkit.entity.Entity
-
getBoundingBox
@NotNull public org.bukkit.util.BoundingBox getBoundingBox()- Specified by:
getBoundingBox
in interfaceorg.bukkit.entity.Entity
-
isOnGround
public boolean isOnGround()- Specified by:
isOnGround
in interfaceorg.bukkit.entity.Entity
-
isInWater
public boolean isInWater()- Specified by:
isInWater
in interfaceorg.bukkit.entity.Entity
-
getWorld
public org.bukkit.World getWorld()- Specified by:
getWorld
in interfaceorg.bukkit.entity.Entity
-
setRotation
public void setRotation(float yaw, float pitch) - Specified by:
setRotation
in interfaceorg.bukkit.entity.Entity
-
teleport
public boolean teleport(org.bukkit.Location location) - Specified by:
teleport
in interfaceorg.bukkit.entity.Entity
-
teleport
public boolean teleport(org.bukkit.Location location, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause) - Specified by:
teleport
in interfaceorg.bukkit.entity.Entity
-
teleport
public boolean teleport(org.bukkit.entity.Entity entity) - Specified by:
teleport
in interfaceorg.bukkit.entity.Entity
-
teleport
public boolean teleport(org.bukkit.entity.Entity entity, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause teleportCause) - Specified by:
teleport
in interfaceorg.bukkit.entity.Entity
-
getNearbyEntities
- Specified by:
getNearbyEntities
in interfaceorg.bukkit.entity.Entity
-
getEntityId
public int getEntityId()- Specified by:
getEntityId
in interfaceorg.bukkit.entity.Entity
-
getFireTicks
public int getFireTicks()- Specified by:
getFireTicks
in interfaceorg.bukkit.entity.Entity
-
setFireTicks
public void setFireTicks(int i) - Specified by:
setFireTicks
in interfaceorg.bukkit.entity.Entity
-
getMaxFireTicks
public int getMaxFireTicks()- Specified by:
getMaxFireTicks
in interfaceorg.bukkit.entity.Entity
-
isVisualFire
public boolean isVisualFire()- Specified by:
isVisualFire
in interfaceorg.bukkit.entity.Entity
-
setVisualFire
public void setVisualFire(boolean b) - Specified by:
setVisualFire
in interfaceorg.bukkit.entity.Entity
-
getFreezeTicks
public int getFreezeTicks()- Specified by:
getFreezeTicks
in interfaceorg.bukkit.entity.Entity
-
setFreezeTicks
public void setFreezeTicks(int i) - Specified by:
setFreezeTicks
in interfaceorg.bukkit.entity.Entity
-
getMaxFreezeTicks
public int getMaxFreezeTicks()- Specified by:
getMaxFreezeTicks
in interfaceorg.bukkit.entity.Entity
-
isFrozen
public boolean isFrozen()- Specified by:
isFrozen
in interfaceorg.bukkit.entity.Entity
-
remove
public void remove()- Specified by:
remove
in interfaceorg.bukkit.entity.Entity
-
isDead
public boolean isDead()- Specified by:
isDead
in interfaceorg.bukkit.entity.Entity
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceorg.bukkit.entity.Entity
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
getServer
@NotNull public org.bukkit.Server getServer()- Specified by:
getServer
in interfaceorg.bukkit.command.CommandSender
- Specified by:
getServer
in interfaceorg.bukkit.entity.Entity
-
isPersistent
public boolean isPersistent()- Specified by:
isPersistent
in interfaceorg.bukkit.entity.Entity
-
setPersistent
public void setPersistent(boolean persistent) - Specified by:
setPersistent
in interfaceorg.bukkit.entity.Entity
-
getName
- Specified by:
getName
in interfaceorg.bukkit.command.CommandSender
-
getPassenger
public org.bukkit.entity.Entity getPassenger()- Specified by:
getPassenger
in interfaceorg.bukkit.entity.Entity
-
setPassenger
public boolean setPassenger(@NotNull org.bukkit.entity.Entity entity) - Specified by:
setPassenger
in interfaceorg.bukkit.entity.Entity
-
getPassengers
- Specified by:
getPassengers
in interfaceorg.bukkit.entity.Entity
-
addPassenger
public boolean addPassenger(@NotNull org.bukkit.entity.Entity entity) - Specified by:
addPassenger
in interfaceorg.bukkit.entity.Entity
-
removePassenger
public boolean removePassenger(@NotNull org.bukkit.entity.Entity entity) - Specified by:
removePassenger
in interfaceorg.bukkit.entity.Entity
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceorg.bukkit.entity.Entity
-
eject
public boolean eject()- Specified by:
eject
in interfaceorg.bukkit.entity.Entity
-
getFallDistance
public float getFallDistance()- Specified by:
getFallDistance
in interfaceorg.bukkit.entity.Entity
-
setFallDistance
public void setFallDistance(float v) - Specified by:
setFallDistance
in interfaceorg.bukkit.entity.Entity
-
getLastDamageCause
public org.bukkit.event.entity.EntityDamageEvent getLastDamageCause()- Specified by:
getLastDamageCause
in interfaceorg.bukkit.entity.Entity
-
setLastDamageCause
public void setLastDamageCause(org.bukkit.event.entity.EntityDamageEvent entityDamageEvent) - Specified by:
setLastDamageCause
in interfaceorg.bukkit.entity.Entity
-
getUniqueId
- Specified by:
getUniqueId
in interfaceorg.bukkit.entity.Entity
-
getTicksLived
public int getTicksLived()- Specified by:
getTicksLived
in interfaceorg.bukkit.entity.Entity
-
setTicksLived
public void setTicksLived(int i) - Specified by:
setTicksLived
in interfaceorg.bukkit.entity.Entity
-
getSpawnCategory
@NotNull public org.bukkit.entity.SpawnCategory getSpawnCategory()- Specified by:
getSpawnCategory
in interfaceorg.bukkit.entity.Entity
-
isInWorld
public boolean isInWorld()- Specified by:
isInWorld
in interfaceorg.bukkit.entity.Entity
-
getAsString
- Specified by:
getAsString
in interfaceorg.bukkit.entity.Entity
-
createSnapshot
@Nullable public org.bukkit.entity.EntitySnapshot createSnapshot()- Specified by:
createSnapshot
in interfaceorg.bukkit.entity.Entity
-
copy
@NotNull public org.bukkit.entity.Entity copy()- Specified by:
copy
in interfaceorg.bukkit.entity.Entity
-
copy
@NotNull public org.bukkit.entity.Entity copy(@NotNull org.bukkit.Location location) - Specified by:
copy
in interfaceorg.bukkit.entity.Entity
-
playEffect
public void playEffect(org.bukkit.EntityEffect entityEffect) - Specified by:
playEffect
in interfaceorg.bukkit.entity.Entity
-
getType
public org.bukkit.entity.EntityType getType()- Specified by:
getType
in interfaceorg.bukkit.entity.Entity
-
getSwimSound
@NotNull public org.bukkit.Sound getSwimSound()- Specified by:
getSwimSound
in interfaceorg.bukkit.entity.Entity
-
getSwimSplashSound
@NotNull public org.bukkit.Sound getSwimSplashSound()- Specified by:
getSwimSplashSound
in interfaceorg.bukkit.entity.Entity
-
getSwimHighSpeedSplashSound
@NotNull public org.bukkit.Sound getSwimHighSpeedSplashSound()- Specified by:
getSwimHighSpeedSplashSound
in interfaceorg.bukkit.entity.Entity
-
isInsideVehicle
public boolean isInsideVehicle()- Specified by:
isInsideVehicle
in interfaceorg.bukkit.entity.Entity
-
leaveVehicle
public boolean leaveVehicle()- Specified by:
leaveVehicle
in interfaceorg.bukkit.entity.Entity
-
getVehicle
public org.bukkit.entity.Entity getVehicle()- Specified by:
getVehicle
in interfaceorg.bukkit.entity.Entity
-
setMetadata
- Specified by:
setMetadata
in interfaceorg.bukkit.metadata.Metadatable
-
getMetadata
- Specified by:
getMetadata
in interfaceorg.bukkit.metadata.Metadatable
-
hasMetadata
- Specified by:
hasMetadata
in interfaceorg.bukkit.metadata.Metadatable
-
removeMetadata
- Specified by:
removeMetadata
in interfaceorg.bukkit.metadata.Metadatable
-
launchProjectile
- Specified by:
launchProjectile
in interfaceorg.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 interfaceorg.bukkit.projectiles.ProjectileSource
-
isPermissionSet
- Specified by:
isPermissionSet
in interfaceorg.bukkit.permissions.Permissible
-
isPermissionSet
public boolean isPermissionSet(org.bukkit.permissions.Permission permission) - Specified by:
isPermissionSet
in interfaceorg.bukkit.permissions.Permissible
-
hasPermission
- Specified by:
hasPermission
in interfaceorg.bukkit.permissions.Permissible
-
hasPermission
public boolean hasPermission(org.bukkit.permissions.Permission permission) - Specified by:
hasPermission
in interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String s, boolean b) - Specified by:
addAttachment
in interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin) - Specified by:
addAttachment
in interfaceorg.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 interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int i) - Specified by:
addAttachment
in interfaceorg.bukkit.permissions.Permissible
-
removeAttachment
public void removeAttachment(org.bukkit.permissions.PermissionAttachment permissionAttachment) - Specified by:
removeAttachment
in interfaceorg.bukkit.permissions.Permissible
-
recalculatePermissions
public void recalculatePermissions()- Specified by:
recalculatePermissions
in interfaceorg.bukkit.permissions.Permissible
-
getEffectivePermissions
- Specified by:
getEffectivePermissions
in interfaceorg.bukkit.permissions.Permissible
-
isOp
public boolean isOp()- Specified by:
isOp
in interfaceorg.bukkit.permissions.ServerOperator
-
setOp
public void setOp(boolean b) - Specified by:
setOp
in interfaceorg.bukkit.permissions.ServerOperator
-
getAttribute
public org.bukkit.attribute.AttributeInstance getAttribute(org.bukkit.attribute.Attribute attribute) - Specified by:
getAttribute
in interfaceorg.bukkit.attribute.Attributable
-
getPersistentDataContainer
@NotNull public org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()- Specified by:
getPersistentDataContainer
in interfaceorg.bukkit.persistence.PersistentDataHolder
-