Interface DisplayEntity
- All Superinterfaces:
CopyableDataHolder,DataHolder,DataHolder.Mutable,DataSerializable,Entity,EntityProjectileSource,HoverEventSource<HoverEvent.ShowEntity>,Identifiable,Locatable,ProjectileSource,RandomProvider,SerializableDataHolder,SerializableDataHolder.Mutable,Sound.Emitter,ValueContainer
- All Known Subinterfaces:
BlockDisplay,ItemDisplay,TextDisplay
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolder
DataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.MutableNested classes/interfaces inherited from interface org.spongepowered.api.util.RandomProvider
RandomProvider.SourceNested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolder
SerializableDataHolder.Immutable<I extends SerializableDataHolder.Immutable<I>>, SerializableDataHolder.Mutable -
Method Summary
Modifier and TypeMethodDescriptiondefault BillboardTypeReturns the blocklight override.default TicksReturns the delay to the start of the interpolationdefault TicksReturns the duration of the interpolationdefault DoubleReturns the shadow radius.default DoubleReturns the shadow strength or darkness.skyLight()Returns the skylight override.default TransformReturns the transform.default DoubleReturns the range at which the display entity is rendered.Methods inherited from interface org.spongepowered.api.data.DataHolder.Mutable
copyFrom, copyFrom, offer, offer, offer, offer, offerAll, offerAll, offerAll, offerAll, offerAll, offerAll, offerSingle, offerSingle, offerSingle, offerSingle, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeKey, removeKey, removeSingle, removeSingle, transform, transform, tryOffer, tryOffer, tryOffer, undoMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainerMethods inherited from interface org.spongepowered.api.entity.Entity
age, asHoverEvent, baseSize, baseVehicle, boundingBox, canSee, copy, createArchetype, createSnapshot, creator, customName, customNameVisible, damage, damage, direction, displayName, eyeHeight, eyePosition, fallDistance, fireImmuneTicks, fireTicks, glowing, gravityAffected, height, invisible, invulnerabilityTicks, invulnerable, isLoaded, isRemoved, isTransient, lookAt, maxAir, nearbyEntities, nearbyEntities, notifier, onGround, passengers, position, remainingAir, remove, rotation, scale, scoreboardTags, setLocation, setLocationAndRotation, setLocationAndRotation, setPosition, setRotation, setScale, setTransform, silent, sneaking, sprinting, swiftness, transferToWorld, transferToWorld, type, vanishState, vehicle, velocity, wetMethods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEventMethods inherited from interface org.spongepowered.api.util.Identifiable
uniqueIdMethods inherited from interface org.spongepowered.api.world.Locatable
blockPosition, location, serverLocation, worldMethods inherited from interface org.spongepowered.api.projectile.source.ProjectileSource
launchProjectile, launchProjectile, launchProjectile, launchProjectile, launchProjectileTo, launchProjectileToMethods inherited from interface org.spongepowered.api.util.RandomProvider
randomMethods inherited from interface org.spongepowered.api.data.SerializableDataHolder
validateRawDataMethods inherited from interface org.spongepowered.api.data.SerializableDataHolder.Mutable
setRawData
-
Method Details
-
transform
Returns the transform.Supports interpolation.
-
interpolationDuration
Returns the duration of the interpolation- Returns:
- the duration of the interpolation
-
interpolationDelay
Returns the delay to the start of the interpolation- Returns:
- the delay to the start of the interpolation
-
billboardType
-
skyLight
Returns the skylight override.- Returns:
- the skylight override
-
blockLight
Returns the blocklight override.- Returns:
- the blocklight override
-
shadowRadius
Returns the shadow radius.- Returns:
- the shadow radius.
-
shadowStrength
Returns the shadow strength or darkness.Vanilla defaults to 1
- Returns:
- the shadow strength.
-
viewRange
Returns the range at which the display entity is rendered.- Returns:
- the view range
-