Package be.seeseemelk.mockbukkit.entity
Class AreaEffectCloudMock
java.lang.Object
org.bukkit.command.CommandSender.Spigot
org.bukkit.entity.Entity.Spigot
be.seeseemelk.mockbukkit.entity.EntityMock
be.seeseemelk.mockbukkit.entity.AreaEffectCloudMock
- All Implemented Interfaces:
MessageTarget,net.kyori.adventure.audience.Audience,net.kyori.adventure.pointer.Pointered,net.kyori.adventure.sound.Sound.Emitter,net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>,org.bukkit.command.CommandSender,org.bukkit.entity.AreaEffectCloud,org.bukkit.entity.Entity,org.bukkit.metadata.Metadatable,org.bukkit.Nameable,org.bukkit.permissions.Permissible,org.bukkit.permissions.ServerOperator,org.bukkit.persistence.PersistentDataHolder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.entity.Entity
org.bukkit.entity.Entity.Spigot -
Field Summary
Fields inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCustomEffect(@NotNull org.bukkit.potion.PotionEffect effect, boolean overwrite) void@Nullable org.bukkit.potion.PotionData@Nullable org.bukkit.potion.PotionType@NotNull org.bukkit.ColorgetColor()@NotNull List<org.bukkit.potion.PotionEffect> intint@Nullable UUID@NotNull org.bukkit.Particlefloatfloatfloatint@Nullable org.bukkit.projectiles.ProjectileSource@NotNull org.bukkit.entity.EntityTypegetType()intbooleanhasCustomEffect(@Nullable org.bukkit.potion.PotionEffectType type) booleanbooleanremoveCustomEffect(@NotNull org.bukkit.potion.PotionEffectType type) voidsetBasePotionData(@Nullable org.bukkit.potion.PotionData data) voidsetBasePotionType(@Nullable org.bukkit.potion.PotionType type) voidsetColor(@NotNull org.bukkit.Color color) voidsetDuration(int duration) voidsetDurationOnUse(int duration) voidsetOwnerUniqueId(@Nullable UUID ownerUuid) voidsetParticle(@NotNull org.bukkit.Particle particle) <T> voidsetParticle(@NotNull org.bukkit.Particle particle, T data) voidsetRadius(float radius) voidsetRadiusOnUse(float radius) voidsetRadiusPerTick(float radius) voidsetReapplicationDelay(int delay) voidsetSource(@Nullable org.bukkit.projectiles.ProjectileSource source) voidsetWaitTime(int waitTime) Methods inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, asHoverEvent, assertLocation, assertNotTeleported, assertTeleported, clearMetadata, clearTeleported, collidesAt, copy, copy, createSnapshot, customName, customName, eject, equals, fromMobSpawner, getAsString, getBoundingBox, getChunk, getCustomName, getEffectivePermissions, getEntityId, getEntityProperty, getEntitySpawnReason, getEntityState, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getMetadata, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPitch, getPortalCooldown, getPose, getScheduler, getScoreboardEntry, getScoreboardEntryName, getScoreboardTags, getServer, getSpawnCategory, getSubType, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTeleportCause, getTicksLived, getTrackedBy, getTrackedPlayers, getTransitivePassengers, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, getX, getY, getYaw, getZ, hasFixedPose, hasGravity, hashCode, hasMetadata, hasNoPhysics, hasPassengers, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvisible, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isInWorld, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, name, nextComponentMessage, playEffect, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvisible, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setNoPhysics, setOp, setPassenger, setPersistent, setPortalCooldown, setPose, setRotation, setSilent, setSneaking, setSpawnReason, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportWithoutEvent, wouldCollideUsingMethods inherited from class org.bukkit.command.CommandSender.Spigot
sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.audience.Audience
clearResourcePacks, clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.bukkit.command.CommandSender
getName, name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessage, sendRichMessageMethods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, asHoverEvent, collidesAt, copy, copy, createSnapshot, eject, fromMobSpawner, getAsString, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPitch, getPortalCooldown, getPose, getScheduler, getScoreboardEntryName, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getTrackedPlayers, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, getX, getY, getYaw, getZ, hasFixedPose, hasGravity, hasNoPhysics, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvisible, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isInWorld, isOnGround, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvisible, setInvulnerable, setLastDamageCause, setNoPhysics, setPassenger, setPersistent, setPortalCooldown, setPose, setPose, setRotation, setSilent, setSneaking, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync, teleportAsync, wouldCollideUsingMethods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEventMethods inherited from interface be.seeseemelk.mockbukkit.command.MessageTarget
assertNoMoreSaid, assertSaid, assertSaid, nextMessageMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainerMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Constructor Details
-
AreaEffectCloudMock
- Parameters:
server- The server to create the entity on.uuid- The UUID of the entity.
-
-
Method Details
-
getDuration
public int getDuration()- Specified by:
getDurationin interfaceorg.bukkit.entity.AreaEffectCloud
-
setDuration
public void setDuration(int duration) - Specified by:
setDurationin interfaceorg.bukkit.entity.AreaEffectCloud
-
getWaitTime
public int getWaitTime()- Specified by:
getWaitTimein interfaceorg.bukkit.entity.AreaEffectCloud
-
setWaitTime
public void setWaitTime(int waitTime) - Specified by:
setWaitTimein interfaceorg.bukkit.entity.AreaEffectCloud
-
getReapplicationDelay
public int getReapplicationDelay()- Specified by:
getReapplicationDelayin interfaceorg.bukkit.entity.AreaEffectCloud
-
setReapplicationDelay
public void setReapplicationDelay(int delay) - Specified by:
setReapplicationDelayin interfaceorg.bukkit.entity.AreaEffectCloud
-
getDurationOnUse
public int getDurationOnUse()- Specified by:
getDurationOnUsein interfaceorg.bukkit.entity.AreaEffectCloud
-
setDurationOnUse
public void setDurationOnUse(int duration) - Specified by:
setDurationOnUsein interfaceorg.bukkit.entity.AreaEffectCloud
-
getRadius
public float getRadius()- Specified by:
getRadiusin interfaceorg.bukkit.entity.AreaEffectCloud
-
setRadius
public void setRadius(float radius) - Specified by:
setRadiusin interfaceorg.bukkit.entity.AreaEffectCloud
-
getRadiusOnUse
public float getRadiusOnUse()- Specified by:
getRadiusOnUsein interfaceorg.bukkit.entity.AreaEffectCloud
-
setRadiusOnUse
public void setRadiusOnUse(float radius) - Specified by:
setRadiusOnUsein interfaceorg.bukkit.entity.AreaEffectCloud
-
getRadiusPerTick
public float getRadiusPerTick()- Specified by:
getRadiusPerTickin interfaceorg.bukkit.entity.AreaEffectCloud
-
setRadiusPerTick
public void setRadiusPerTick(float radius) - Specified by:
setRadiusPerTickin interfaceorg.bukkit.entity.AreaEffectCloud
-
getParticle
@NotNull public @NotNull org.bukkit.Particle getParticle()- Specified by:
getParticlein interfaceorg.bukkit.entity.AreaEffectCloud
-
setParticle
public void setParticle(@NotNull @NotNull org.bukkit.Particle particle) - Specified by:
setParticlein interfaceorg.bukkit.entity.AreaEffectCloud
-
setParticle
public <T> void setParticle(@NotNull @NotNull org.bukkit.Particle particle, @Nullable T data) - Specified by:
setParticlein interfaceorg.bukkit.entity.AreaEffectCloud
-
setBasePotionData
public void setBasePotionData(@Nullable @Nullable org.bukkit.potion.PotionData data) - Specified by:
setBasePotionDatain interfaceorg.bukkit.entity.AreaEffectCloud
-
getBasePotionData
@Nullable public @Nullable org.bukkit.potion.PotionData getBasePotionData()- Specified by:
getBasePotionDatain interfaceorg.bukkit.entity.AreaEffectCloud
-
setBasePotionType
public void setBasePotionType(@Nullable @Nullable org.bukkit.potion.PotionType type) - Specified by:
setBasePotionTypein interfaceorg.bukkit.entity.AreaEffectCloud
-
getBasePotionType
@Nullable public @Nullable org.bukkit.potion.PotionType getBasePotionType()- Specified by:
getBasePotionTypein interfaceorg.bukkit.entity.AreaEffectCloud
-
hasCustomEffects
public boolean hasCustomEffects()- Specified by:
hasCustomEffectsin interfaceorg.bukkit.entity.AreaEffectCloud
-
getCustomEffects
- Specified by:
getCustomEffectsin interfaceorg.bukkit.entity.AreaEffectCloud
-
addCustomEffect
public boolean addCustomEffect(@NotNull @NotNull org.bukkit.potion.PotionEffect effect, boolean overwrite) - Specified by:
addCustomEffectin interfaceorg.bukkit.entity.AreaEffectCloud
-
removeCustomEffect
public boolean removeCustomEffect(@NotNull @NotNull org.bukkit.potion.PotionEffectType type) - Specified by:
removeCustomEffectin interfaceorg.bukkit.entity.AreaEffectCloud
-
hasCustomEffect
public boolean hasCustomEffect(@Nullable @Nullable org.bukkit.potion.PotionEffectType type) - Specified by:
hasCustomEffectin interfaceorg.bukkit.entity.AreaEffectCloud
-
clearCustomEffects
public void clearCustomEffects()- Specified by:
clearCustomEffectsin interfaceorg.bukkit.entity.AreaEffectCloud
-
getColor
@NotNull public @NotNull org.bukkit.Color getColor()- Specified by:
getColorin interfaceorg.bukkit.entity.AreaEffectCloud
-
setColor
public void setColor(@NotNull @NotNull org.bukkit.Color color) - Specified by:
setColorin interfaceorg.bukkit.entity.AreaEffectCloud
-
getSource
@Nullable public @Nullable org.bukkit.projectiles.ProjectileSource getSource()- Specified by:
getSourcein interfaceorg.bukkit.entity.AreaEffectCloud
-
setSource
public void setSource(@Nullable @Nullable org.bukkit.projectiles.ProjectileSource source) - Specified by:
setSourcein interfaceorg.bukkit.entity.AreaEffectCloud
-
getOwnerUniqueId
- Specified by:
getOwnerUniqueIdin interfaceorg.bukkit.entity.AreaEffectCloud
-
setOwnerUniqueId
- Specified by:
setOwnerUniqueIdin interfaceorg.bukkit.entity.AreaEffectCloud
-
getType
@NotNull public @NotNull org.bukkit.entity.EntityType getType()- Specified by:
getTypein interfaceorg.bukkit.entity.Entity- Overrides:
getTypein classEntityMock
-