Package net.luckperms.api.node.types
Interface ChatMetaNode<N extends ChatMetaNode<N,B>,B extends ChatMetaNode.Builder<N,B>>
-
- Type Parameters:
N- the node typeB- the node builder type
- All Superinterfaces:
Node,ScopedNode<N,B>
- All Known Subinterfaces:
PrefixNode,SuffixNode
public interface ChatMetaNode<N extends ChatMetaNode<N,B>,B extends ChatMetaNode.Builder<N,B>> extends ScopedNode<N,B>
Represents a chat meta node. (aPrefixNodeorSuffixNode)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceChatMetaNode.Builder<N extends ChatMetaNode<N,B>,B extends ChatMetaNode.Builder<N,B>>AChatMetaNodebuilder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull ChatMetaTypegetMetaType()Gets the type.StringgetMetaValue()Gets the meta value.intgetPriority()Gets the priority.-
Methods inherited from interface net.luckperms.api.node.Node
equals, equals, getContexts, getExpiry, getExpiryDuration, getKey, getMetadata, getValue, hasExpired, hasExpiry, isNegated, metadata, resolveShorthand
-
Methods inherited from interface net.luckperms.api.node.ScopedNode
getType, toBuilder
-
-
-
-
Method Detail
-
getPriority
int getPriority()
Gets the priority.- Returns:
- the priority
-
getMetaValue
String getMetaValue()
Gets the meta value.- Returns:
- the value
-
getMetaType
@NonNull ChatMetaType getMetaType()
Gets the type.- Returns:
- the type
-
-