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() |
org.bukkit.entity.EntityType |
getType() |
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, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isOp, isPermissionSet, isPermissionSet, 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, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportsendMessage, sendMessage, sendMessage, sendMessageclone, 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.public org.bukkit.entity.EntityType getType()
public boolean isPersistent()
isPersistent in interface org.bukkit.entity.EntityisPersistent in class EntityMockpublic void setPersistent(boolean persistent)
setPersistent in interface org.bukkit.entity.EntitysetPersistent in class EntityMockpublic org.bukkit.util.BoundingBox getBoundingBox()
getBoundingBox in interface org.bukkit.entity.EntitygetBoundingBox in class EntityMockpublic org.bukkit.block.BlockFace getFacing()
getFacing in interface org.bukkit.entity.EntitygetFacing in class EntityMockpublic org.bukkit.entity.Pose getPose()
getPose in interface org.bukkit.entity.EntitygetPose in class EntityMock