public abstract class MonsterMock extends CreatureMock implements org.bukkit.entity.Monster
alive, attributes, health| Constructor and Description |
|---|
MonsterMock(ServerMock server,
java.util.UUID uuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
attack(org.bukkit.entity.Entity target) |
java.util.Set<java.util.UUID> |
getCollidableExemptions() |
boolean |
isAware() |
void |
setAware(boolean aware) |
void |
swingMainHand() |
void |
swingOffHand() |
getAbsorptionAmount, getLootTable, getMemory, getSeed, getTarget, isSleeping, setAbsorptionAmount, setLootTable, setMemory, setSeed, setTargetaddPotionEffect, addPotionEffect, addPotionEffects, damage, damage, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getAttribute, getCanPickupItems, getCategory, getEyeHeight, getEyeHeight, getEyeLocation, getHealth, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isDead, isGliding, isInvisible, isLeashed, isRiptiding, isSwimming, launchProjectile, launchProjectile, rayTraceBlocks, rayTraceBlocks, removePotionEffect, resetMaxHealth, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setHealth, setInvisible, setLastDamage, setLeashHolder, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimmingaddAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, assertLocation, assertNotTeleported, assertTeleported, clearTeleported, eject, equals, getBoundingBox, getCustomName, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMetadata, getName, getNearbyEntities, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTeleportCause, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isValid, leaveVehicle, nextMessage, playEffect, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setOp, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportsendMessage, sendMessage, sendMessage, sendMessageclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, 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, setSwimmingdamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthaddPassenger, 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, isInWater, 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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerlaunchProjectile, launchProjectilegetLootTable, getSeed, setLootTable, setSeedassertNoMoreSaid, assertSaidpublic MonsterMock(ServerMock server, java.util.UUID uuid)
public void setAware(boolean aware)
setAware in interface org.bukkit.entity.Mobpublic boolean isAware()
isAware in interface org.bukkit.entity.Mobpublic void attack(org.bukkit.entity.Entity target)
attack in interface org.bukkit.entity.LivingEntitypublic void swingMainHand()
swingMainHand in interface org.bukkit.entity.LivingEntitypublic void swingOffHand()
swingOffHand in interface org.bukkit.entity.LivingEntitypublic java.util.Set<java.util.UUID> getCollidableExemptions()
getCollidableExemptions in interface org.bukkit.entity.LivingEntity