Package net.arcadiusmc.dom
Interface ComponentNode
- All Superinterfaces:
Node
A node which uses a
Component as content-
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.ComponentGet the chat component contentvoidsetContent(net.kyori.adventure.text.Component content) Set the chat component contentMethods inherited from interface net.arcadiusmc.dom.Node
enterVisitor, exitVisitor, getDepth, getOwningDocument, getParent, getSiblingIndex, hasFlag, nextSibling, previousSibling
-
Method Details
-
getContent
net.kyori.adventure.text.Component getContent()Get the chat component content- Returns:
- Content component
-
setContent
void setContent(net.kyori.adventure.text.Component content) Set the chat component content- Parameters:
content- Content component
-