Package org.bukkit.entity
Interface Display
- All Superinterfaces:
- Audience,- CommandSender,- Entity,- HoverEventSource<HoverEvent.ShowEntity>,- Metadatable,- Nameable,- Permissible,- PersistentDataHolder,- Pointered,- ServerOperator,- Sound.Emitter
- All Known Subinterfaces:
- BlockDisplay,- ItemDisplay,- TextDisplay
Represents a display entity which is designed to only have a visual function.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumDescribes the axes/points around which the entity can pivot.static classRepresents the brightness rendering parameters of the entity.Nested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier and TypeMethodDescriptionGets the billboard setting of this entity.Gets the brightness override of the entity.floatGets the height of this display.floatGets the width of this display.Gets the scoreboard team overridden glow color of this display.intGets the amount of ticks before client-side interpolation will commence.intGets the interpolation duration of this display.floatGets the shadow radius of this display.floatGets the shadow strength of this display.Gets the transformation applied to this display.floatGets the view distance/range of this display.voidsetBillboard(@NotNull Display.Billboard billboard) Sets the billboard setting of this entity.voidsetBrightness(@Nullable Display.Brightness brightness) Sets the brightness override of the entity.voidsetDisplayHeight(float height) Sets the height if this display.voidsetDisplayWidth(float width) Sets the width of this display.voidsetGlowColorOverride(@Nullable Color color) Sets the scoreboard team overridden glow color of this display.voidsetInterpolationDelay(int ticks) Sets the amount of ticks before client-side interpolation will commence.voidsetInterpolationDuration(int duration) Sets the interpolation duration of this display.voidsetShadowRadius(float radius) Sets the shadow radius of this display.voidsetShadowStrength(float strength) Sets the shadow strength of this display.voidsetTransformation(@NotNull Transformation transformation) Sets the transformation applied to this displayvoidsetTransformationMatrix(@NotNull org.joml.Matrix4f transformationMatrix) Sets the raw transformation matrix applied to this displayvoidsetViewRange(float range) Sets the view distance/range of this display.Methods inherited from interface net.kyori.adventure.audience.AudienceclearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.bukkit.command.CommandSendergetName, name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessage, sendRichMessageMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, asHoverEvent, collidesAt, eject, fromMobSpawner, 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, getTrackedPlayers, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, getX, getY, getYaw, getZ, hasFixedPose, hasGravity, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setPose, setPose, setRotation, setSilent, setSneaking, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync, wouldCollideUsingMethods inherited from interface net.kyori.adventure.text.event.HoverEventSourceasHoverEventMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.NameablecustomName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainerMethods inherited from interface net.kyori.adventure.pointer.Pointeredget, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOp
- 
Method Details- 
getTransformationGets the transformation applied to this display.- Returns:
- the transformation
 
- 
setTransformationSets the transformation applied to this display- Parameters:
- transformation- the new transformation
 
- 
setTransformationMatrixSets the raw transformation matrix applied to this display- Parameters:
- transformationMatrix- the transformation matrix
 
- 
getInterpolationDurationint getInterpolationDuration()Gets the interpolation duration of this display.- Returns:
- interpolation duration
 
- 
setInterpolationDurationvoid setInterpolationDuration(int duration) Sets the interpolation duration of this display.- Parameters:
- duration- new duration
 
- 
getViewRangefloat getViewRange()Gets the view distance/range of this display.- Returns:
- view range
 
- 
setViewRangevoid setViewRange(float range) Sets the view distance/range of this display.- Parameters:
- range- new range
 
- 
getShadowRadiusfloat getShadowRadius()Gets the shadow radius of this display.- Returns:
- radius
 
- 
setShadowRadiusvoid setShadowRadius(float radius) Sets the shadow radius of this display.- Parameters:
- radius- new radius
 
- 
getShadowStrengthfloat getShadowStrength()Gets the shadow strength of this display.- Returns:
- shadow strength
 
- 
setShadowStrengthvoid setShadowStrength(float strength) Sets the shadow strength of this display.- Parameters:
- strength- new strength
 
- 
getDisplayWidthfloat getDisplayWidth()Gets the width of this display.- Returns:
- width
 
- 
setDisplayWidthvoid setDisplayWidth(float width) Sets the width of this display.- Parameters:
- width- new width
 
- 
getDisplayHeightfloat getDisplayHeight()Gets the height of this display.- Returns:
- height
 
- 
setDisplayHeightvoid setDisplayHeight(float height) Sets the height if this display.- Parameters:
- height- new height
 
- 
getInterpolationDelayint getInterpolationDelay()Gets the amount of ticks before client-side interpolation will commence.- Returns:
- interpolation delay ticks
 
- 
setInterpolationDelayvoid setInterpolationDelay(int ticks) Sets the amount of ticks before client-side interpolation will commence.- Parameters:
- ticks- interpolation delay ticks
 
- 
getBillboardGets the billboard setting of this entity. The billboard setting controls the automatic rotation of the entity to face the player.- Returns:
- billboard setting
 
- 
setBillboardSets the billboard setting of this entity. The billboard setting controls the automatic rotation of the entity to face the player.- Parameters:
- billboard- new setting
 
- 
getGlowColorOverrideGets the scoreboard team overridden glow color of this display.- Returns:
- glow color
 
- 
setGlowColorOverrideSets the scoreboard team overridden glow color of this display.- Parameters:
- color- new color
 
- 
getBrightnessGets the brightness override of the entity.- Returns:
- brightness override, if set
 
- 
setBrightnessSets the brightness override of the entity.- Parameters:
- brightness- new brightness override
 
 
-