Package com.maximde.hologramlib.hologram
Class BlockHologram
java.lang.Object
com.maximde.hologramlib.hologram.Hologram<BlockHologram>
com.maximde.hologramlib.hologram.BlockHologram
-
Nested Class Summary
Nested classes/interfaces inherited from class com.maximde.hologramlib.hologram.Hologram
Hologram.Internal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected boolean
protected boolean
Fields inherited from class com.maximde.hologramlib.hologram.Hologram
billboard, dead, entity, entityID, entityType, id, interpolationDurationTransformation, leftRotation, location, maxPlayerRenderDistanceSquared, renderMode, rightRotation, scale, task, teleportDuration, translation, updateTaskPeriod, viewRange
-
Constructor Summary
ConstructorsConstructorDescriptionBlockHologram
(String id, com.github.retrooper.packetevents.protocol.entity.type.EntityType entityType) BlockHologram
(String id, RenderMode renderMode) -
Method Summary
Modifier and TypeMethodDescriptionprotected me.tofaa.entitylib.meta.EntityMeta
protected BlockHologram
copy()
protected BlockHologram
setGlowColor
(Color color) Sets the RGB color for the item's glow effect.Methods inherited from class com.maximde.hologramlib.hologram.Hologram
addAllViewers, addPassenger, addViewer, attach, getInterpolationDurationRotation, getPassengers, getScale, getTranslation, getViewers, getViewerUUIDs, kill, removeAllViewers, removeViewer, self, sendPacket, setBillboard, setInterpolationDurationRotation, setInterpolationDurationTransformation, setLeftRotation, setMaxPlayerRenderDistanceSquared, setRightRotation, setScale, setScale, setTeleportDuration, setTranslation, setTranslation, setUpdateTaskPeriod, setViewRange, teleport, toVector3f, update, validateId
-
Field Details
-
block
protected int block -
onFire
protected boolean onFire -
glowing
protected boolean glowing -
glowColor
protected int glowColor
-
-
Constructor Details
-
BlockHologram
-
BlockHologram
public BlockHologram(String id, com.github.retrooper.packetevents.protocol.entity.type.EntityType entityType)
-
-
Method Details
-
applyMeta
protected me.tofaa.entitylib.meta.EntityMeta applyMeta()- Specified by:
applyMeta
in classHologram<BlockHologram>
-
setGlowColor
Sets the RGB color for the item's glow effect. (The color can be wrong if server version is below 1.20.5) Only applies when glowing is set to true. -
copy
- Specified by:
copy
in classHologram<BlockHologram>
-
copy
- Specified by:
copy
in classHologram<BlockHologram>
-