Package org.bukkit.entity
Interface Panda
- All Superinterfaces:
Ageable,Animals,Attributable,Breedable,CommandSender,Creature,Damageable,Entity,LivingEntity,Lootable,Metadatable,Mob,Nameable,Permissible,PersistentDataHolder,ProjectileSource,ServerOperator,Sittable
Panda entity.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.bukkit.entity.Entity
Entity.Spigot -
Method Summary
Modifier and TypeMethodDescriptionGets this Panda's hidden gene.Gets this Panda's main gene.intGets how many ticks the panda will be unhappy forbooleanisEating()Gets whether the Panda is eatingbooleanisOnBack()Gets whether the Panda is on its backbooleanGets whether the Panda is rollingbooleanisScared()Gets whether the Panda is scaredbooleanGets whether the Panda is sneezingvoidsetEating(boolean flag) Sets the Panda's eating status.voidsetHiddenGene(Panda.Gene gene) Sets this Panda's hidden gene.voidsetMainGene(Panda.Gene gene) Sets this Panda's main gene.voidsetOnBack(boolean flag) Sets whether the Panda is on its backvoidsetRolling(boolean flag) Sets whether the Panda is rollingvoidsetSneezing(boolean flag) Sets whether the Panda is sneezingMethods inherited from interface org.bukkit.entity.Ageable
getAge, isAdult, setAdult, setAge, setBabyMethods inherited from interface org.bukkit.entity.Animals
getBreedCause, getLoveModeTicks, isBreedItem, isBreedItem, isLoveMode, setBreedCause, setLoveModeTicksMethods inherited from interface org.bukkit.attribute.Attributable
getAttributeMethods inherited from interface org.bukkit.entity.Breedable
canBreed, getAgeLock, setAgeLock, setBreedMethods inherited from interface org.bukkit.command.CommandSender
getName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.Damageable
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, canBreatheUnderwater, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHurtSound, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming, swingMainHand, swingOffHandMethods inherited from interface org.bukkit.loot.Lootable
getLootTable, getSeed, setLootTable, setSeedMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.entity.Mob
getAmbientSound, getTarget, isAware, setAware, setTargetMethods inherited from interface org.bukkit.Nameable
getCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainerMethods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectileMethods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOpMethods inherited from interface org.bukkit.entity.Sittable
isSitting, setSitting
-
Method Details
-
getMainGene
Gets this Panda's main gene.- Returns:
- main gene
-
setMainGene
Sets this Panda's main gene.- Parameters:
gene- main gene
-
getHiddenGene
Gets this Panda's hidden gene.- Returns:
- hidden gene
-
setHiddenGene
Sets this Panda's hidden gene.- Parameters:
gene- hidden gene
-
isRolling
boolean isRolling()Gets whether the Panda is rolling- Returns:
- Whether the Panda is rolling
-
setRolling
void setRolling(boolean flag) Sets whether the Panda is rolling- Parameters:
flag- Whether the Panda is rolling
-
isSneezing
boolean isSneezing()Gets whether the Panda is sneezing- Returns:
- Whether the Panda is sneezing
-
setSneezing
void setSneezing(boolean flag) Sets whether the Panda is sneezing- Parameters:
flag- Whether the Panda is sneezing
-
isOnBack
boolean isOnBack()Gets whether the Panda is on its back- Returns:
- Whether the Panda is on its back
-
setOnBack
void setOnBack(boolean flag) Sets whether the Panda is on its back- Parameters:
flag- Whether the Panda is on its back
-
isEating
boolean isEating()Gets whether the Panda is eating- Returns:
- Whether the Panda is eating
-
setEating
void setEating(boolean flag) Sets the Panda's eating status. The panda must be holding food for this to work- Parameters:
flag- Whether the Panda is eating
-
isScared
boolean isScared()Gets whether the Panda is scared- Returns:
- Whether the Panda is scared
-
getUnhappyTicks
int getUnhappyTicks()Gets how many ticks the panda will be unhappy for- Returns:
- The number of ticks the panda will be unhappy for
-