public class SimpleMobMock extends MobMock
alive, attributes, health| Constructor and Description |
|---|
SimpleMobMock(@NotNull ServerMock server) |
SimpleMobMock(@NotNull ServerMock server,
@NotNull java.util.UUID uuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
attack(@NotNull org.bukkit.entity.Entity target) |
java.util.Set<java.util.UUID> |
getCollidableExemptions() |
org.bukkit.inventory.EntityEquipment |
getEquipment() |
org.bukkit.entity.EntityType |
getType() |
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, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimmingdamage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, 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, launchProjectileassertNoMoreSaid, assertSaidpublic SimpleMobMock(@NotNull
@NotNull ServerMock server,
@NotNull
@NotNull java.util.UUID uuid)
public SimpleMobMock(@NotNull
@NotNull ServerMock server)
public org.bukkit.entity.EntityType getType()
public org.bukkit.inventory.EntityEquipment getEquipment()
public void setAware(boolean aware)
public boolean isAware()
public void attack(@NotNull
@NotNull org.bukkit.entity.Entity target)
public void swingMainHand()
public void swingOffHand()
public java.util.Set<java.util.UUID> getCollidableExemptions()