Class HologramEntity

java.lang.Object
net.minestom.server.entity.Entity
net.swofty.entity.hologram.HologramEntity
All Implemented Interfaces:
net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, net.minestom.server.collision.Shape, net.minestom.server.event.EventHandler<net.minestom.server.event.trait.EntityEvent>, net.minestom.server.permission.PermissionHandler, net.minestom.server.snapshot.Snapshotable, net.minestom.server.tag.Taggable, net.minestom.server.tag.TagReadable, net.minestom.server.tag.TagWritable, net.minestom.server.Tickable, net.minestom.server.timer.Schedulable, net.minestom.server.Viewable

public class HologramEntity extends net.minestom.server.entity.Entity
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minestom.server.entity.Entity

    net.minestom.server.entity.Entity.Pose
  • Field Summary

    Fields inherited from class net.minestom.server.entity.Entity

    boundingBox, currentChunk, entityMeta, entityType, gravityAcceleration, gravityDragPerTick, gravityTickCount, hasCollision, hasPhysics, instance, lastSyncedPosition, lastVelocityWasZero, metadata, onGround, position, previousPosition, trackingUpdate, uuid, vehicle, velocity, viewEngine, viewers
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     

    Methods inherited from class net.minestom.server.entity.Entity

    addEffect, addPassenger, addViewer, asHoverEvent, askSynchronization, autoViewEntities, clearEffects, despawn, editEntityMeta, eventNode, generateId, getAcquirable, getActiveEffects, getAliveTicks, getAllPermissions, getBoundingBox, getChunk, getCustomName, getDistance, getDistance, getDistanceSquared, getDistanceSquared, getEffect, getEffectLevel, getEntity, getEntity, getEntityId, getEntityMeta, getEntityType, getEyeHeight, getGravityAcceleration, getGravityDragPerTick, getGravityTickCount, getInstance, getLineOfSight, getLineOfSightEntity, getMetadataPacket, getPassengers, getPassengersPacket, getPose, getPosition, getUuid, getVehicle, getVelocity, getVelocityForPacket, getVelocityPacket, getViewers, hasCollision, hasEffect, hasLineOfSight, hasLineOfSight, hasNoGravity, hasPassenger, hasPredictableViewers, hasVelocity, intersectBox, intersectBoxSwept, isActive, isAutoViewable, isCustomNameVisible, isGlowing, isInvisible, isOccluded, isOnFire, isOnGround, isRemoved, isSilent, isSneaking, isSprinting, lookAt, lookAt, refreshCurrentChunk, refreshPosition, refreshPosition, relativeEnd, relativeStart, remove, removeEffect, removePassenger, removeViewer, scheduleNextTick, scheduler, scheduleRemove, scheduleRemove, setAutoViewable, setAutoViewEntities, setBoundingBox, setBoundingBox, setCustomName, setCustomNameVisible, setCustomSynchronizationCooldown, setGlowing, setGravity, setInstance, setInstance, setInstance, setInvisible, setNoGravity, setOnFire, setPose, setSilent, setSneaking, setSprinting, setUuid, setVelocity, setView, spawn, switchEntityType, synchronizePosition, tagHandler, takeKnockback, teleport, teleport, tick, triggerStatus, update, updateNewViewer, updateOldViewer, updatePose, updateSnapshot, updateVelocity, updateViewableRule, updateViewableRule, updateViewerRule, updateViewerRule

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.adventure.text.event.HoverEventSource

    asHoverEvent

    Methods inherited from interface net.minestom.server.permission.PermissionHandler

    addPermission, getPermission, hasPermission, hasPermission, hasPermission, removePermission, removePermission

    Methods inherited from interface net.minestom.server.tag.Taggable

    getTag, hasTag, removeTag, setTag

    Methods inherited from interface net.minestom.server.Viewable

    getViewersAsAudience, getViewersAsAudiences, isViewer, sendPacketsToViewers, sendPacketsToViewers, sendPacketToViewers, sendPacketToViewersAndSelf
  • Constructor Details

    • HologramEntity

      public HologramEntity(String text)
  • Method Details

    • setText

      public void setText(String text)
    • getText

      public String getText()