Package org.bukkit.entity
Interface PigZombie
- All Superinterfaces:
- Attributable,- CommandSender,- Creature,- Damageable,- Entity,- LivingEntity,- Lootable,- Metadatable,- Mob,- Monster,- Nameable,- Permissible,- PersistentDataHolder,- ProjectileSource,- ServerOperator,- Zombie
public interface PigZombie extends Zombie
Represents a Pig Zombie.
- 
Nested Class Summary
- 
Method SummaryModifier and Type Method Description intgetAnger()Get the pig zombie's current anger level.intgetConversionTime()Not applicable to this entitybooleanisAngry()Shorthand; gets whether the zombie is angry.booleanisConverting()Not 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.Damageabledamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.entity.LivingEntityaddPotionEffect, addPotionEffect, addPotionEffects, attack, getActivePotionEffects, getCanPickupItems, getCollidableExemptions, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, 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.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.entity.ZombiegetVillagerProfession, isBaby, isVillager, setBaby, 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
 
 
-