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 SummaryNested ClassesNested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier 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.AgeablegetAge, isAdult, setAdult, setAge, setBabyMethods inherited from interface org.bukkit.entity.AnimalsgetBreedCause, getLoveModeTicks, isBreedItem, isBreedItem, isLoveMode, setBreedCause, setLoveModeTicksMethods inherited from interface org.bukkit.attribute.AttributablegetAttributeMethods inherited from interface org.bukkit.entity.BreedablecanBreed, getAgeLock, setAgeLock, setBreedMethods inherited from interface org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.Damageabledamage, damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, 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, getTrackedBy, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, 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.LivingEntityaddPotionEffect, addPotionEffect, addPotionEffects, attack, canBreatheUnderwater, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHurtSound, getItemInUse, getItemInUseTicks, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, playHurtAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setItemInUseTicks, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setSwimming, swingMainHand, swingOffHandMethods inherited from interface org.bukkit.loot.LootablegetLootTable, getSeed, setLootTable, setSeedMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.entity.MobgetAmbientSound, getTarget, isAware, setAware, setTargetMethods inherited from interface org.bukkit.NameablegetCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainerMethods inherited from interface org.bukkit.projectiles.ProjectileSourcelaunchProjectile, launchProjectileMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOpMethods inherited from interface org.bukkit.entity.SittableisSitting, setSitting
- 
Method Details- 
getMainGeneGets this Panda's main gene.- Returns:
- main gene
 
- 
setMainGeneSets this Panda's main gene.- Parameters:
- gene- main gene
 
- 
getHiddenGeneGets this Panda's hidden gene.- Returns:
- hidden gene
 
- 
setHiddenGeneSets this Panda's hidden gene.- Parameters:
- gene- hidden gene
 
- 
isRollingboolean isRolling()Gets whether the Panda is rolling- Returns:
- Whether the Panda is rolling
 
- 
setRollingvoid setRolling(boolean flag) Sets whether the Panda is rolling- Parameters:
- flag- Whether the Panda is rolling
 
- 
isSneezingboolean isSneezing()Gets whether the Panda is sneezing- Returns:
- Whether the Panda is sneezing
 
- 
setSneezingvoid setSneezing(boolean flag) Sets whether the Panda is sneezing- Parameters:
- flag- Whether the Panda is sneezing
 
- 
isOnBackboolean isOnBack()Gets whether the Panda is on its back- Returns:
- Whether the Panda is on its back
 
- 
setOnBackvoid setOnBack(boolean flag) Sets whether the Panda is on its back- Parameters:
- flag- Whether the Panda is on its back
 
- 
isEatingboolean isEating()Gets whether the Panda is eating- Returns:
- Whether the Panda is eating
 
- 
setEatingvoid 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
 
- 
isScaredboolean isScared()Gets whether the Panda is scared- Returns:
- Whether the Panda is scared
 
- 
getUnhappyTicksint getUnhappyTicks()Gets how many ticks the panda will be unhappy for- Returns:
- The number of ticks the panda will be unhappy for
 
 
-