public class SimpleEntityMock extends EntityMock
| Constructor and Description |
|---|
SimpleEntityMock(ServerMock server)
Creates a
SimpleEntityMock with a random UUID. |
SimpleEntityMock(ServerMock server,
java.util.UUID uuid)
Creates a
SimpleEntityMock with a specified UUID. |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.util.BoundingBox |
getBoundingBox() |
org.bukkit.block.BlockFace |
getFacing() |
org.bukkit.entity.Pose |
getPose() |
boolean |
isPersistent() |
void |
setPersistent(boolean persistent) |
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, assertLocation, assertNotTeleported, assertTeleported, clearTeleported, eject, equals, getCustomName, getEffectivePermissions, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMetadata, getName, getNearbyEntities, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTeleportCause, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isOp, isPermissionSet, isPermissionSet, isSilent, isValid, leaveVehicle, nextMessage, playEffect, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setOp, setPassenger, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, teleport, teleport, teleport, teleportclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitassertNoMoreSaid, assertSaidpublic SimpleEntityMock(ServerMock server, java.util.UUID uuid)
SimpleEntityMock with a specified UUID.server - The server this entity lives on.uuid - The UUID that the entity should have.public SimpleEntityMock(ServerMock server)
SimpleEntityMock with a random UUID.server - The server this entity lives on.