From ed7af0e3def8a448519d8c6dfe0e3cbd039ae72c Mon Sep 17 00:00:00 2001 From: Gabber235 Date: Wed, 23 Oct 2024 18:07:36 +0200 Subject: [PATCH] Add colored and placeholder modifiers --- .../typewritermc/engine/paper/entry/entries/EntityEntry.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/engine-paper/src/main/kotlin/com/typewritermc/engine/paper/entry/entries/EntityEntry.kt b/engine/engine-paper/src/main/kotlin/com/typewritermc/engine/paper/entry/entries/EntityEntry.kt index d99e3adaf7..46ebba6a88 100644 --- a/engine/engine-paper/src/main/kotlin/com/typewritermc/engine/paper/entry/entries/EntityEntry.kt +++ b/engine/engine-paper/src/main/kotlin/com/typewritermc/engine/paper/entry/entries/EntityEntry.kt @@ -3,9 +3,7 @@ package com.typewritermc.engine.paper.entry.entries import com.typewritermc.core.entries.PriorityEntry import com.typewritermc.core.entries.Ref import com.typewritermc.core.entries.ref -import com.typewritermc.core.extension.annotations.Tags -import com.typewritermc.core.extension.annotations.Help -import com.typewritermc.core.extension.annotations.WithRotation +import com.typewritermc.core.extension.annotations.* import com.typewritermc.core.utils.point.Position import com.typewritermc.engine.paper.entry.* import com.typewritermc.engine.paper.entry.entity.* @@ -16,6 +14,8 @@ import kotlin.reflect.KClass @Tags("speaker") interface SpeakerEntry : PlaceholderEntry { + @Colored + @Placeholder @Help("The name of the entity that will be displayed in the chat (e.g. 'Steve' or 'Alex').") val displayName: String