Package org.bukkit.entity
Interface PigZombie
- All Superinterfaces:
- Ageable,- Attributable,- CommandSender,- Creature,- Damageable,- Enemy,- Entity,- LivingEntity,- Lootable,- Metadatable,- Mob,- Monster,- Nameable,- Permissible,- PersistentDataHolder,- ProjectileSource,- ServerOperator,- Zombie
Represents a Pig Zombie.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier and TypeMethodDescriptionintgetAnger()Get the pig zombie's current anger level.intNot applicable to this entitybooleanisAngry()Shorthand; gets whether the zombie is angry.booleanNot applicable to this entityvoidsetAnger(int level) Set the pig zombie's current anger level.voidsetAngry(boolean angry) Shorthand; sets to either 0 or the default level.voidsetConversionTime(int time) Not applicable to this entityMethods inherited from interface org.bukkit.entity.AgeablecanBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreedMethods inherited from interface org.bukkit.attribute.AttributablegetAttributeMethods inherited from interface org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.Damageabledamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.EntityaddPassenger, 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.LivingEntityaddPotionEffect, 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.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.ZombiecanBreakDoors, getVillagerProfession, isBaby, isVillager, setBaby, setCanBreakDoors, setVillager, setVillagerProfession
- 
Method Details- 
getAngerint getAnger()Get the pig zombie's current anger level.- Returns:
- The anger level.
 
- 
setAngervoid setAnger(int level) Set the pig zombie's current anger level.- Parameters:
- level- The anger level. Higher levels of anger take longer to wear off.
 
- 
setAngryvoid setAngry(boolean angry) Shorthand; sets to either 0 or the default level.- Parameters:
- angry- Whether the zombie should be angry.
 
- 
isAngryboolean isAngry()Shorthand; gets whether the zombie is angry.- Returns:
- True if the zombie is angry, otherwise false.
 
- 
isConvertingboolean isConverting()Not applicable to this entity- Specified by:
- isConvertingin interface- Zombie
- Returns:
- false
 
- 
getConversionTimeint getConversionTime()Not applicable to this entity- Specified by:
- getConversionTimein interface- Zombie
- Returns:
- UnsuppotedOperationException
 
- 
setConversionTimevoid setConversionTime(int time) Not applicable to this entity- Specified by:
- setConversionTimein interface- Zombie
- Parameters:
- time- unused
 
 
-