Package net.luckperms.api.node.types
Interface SuffixNode
- All Superinterfaces:
ChatMetaNode<SuffixNode,,SuffixNode.Builder> Node,ScopedNode<SuffixNode,SuffixNode.Builder>
A sub-type of
Node used to store suffix assignments.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull SuffixNode.Builderbuilder()Creates aSuffixNodebuilder.static @NonNull SuffixNode.BuilderCreates aSuffixNodebuilder.default @NonNull NodeType<SuffixNode>getType()Gets the type of the node.Methods inherited from interface net.luckperms.api.node.types.ChatMetaNode
getMetaType, getMetaValue, getPriorityMethods inherited from interface net.luckperms.api.node.Node
equals, equals, getContexts, getExpiry, getExpiryDuration, getKey, getMetadata, getValue, hasExpired, hasExpiry, isNegated, metadata, resolveShorthandMethods inherited from interface net.luckperms.api.node.ScopedNode
toBuilder
-
Method Details
-
getType
Description copied from interface:NodeGets the type of the node.- Specified by:
getTypein interfaceNode- Specified by:
getTypein interfaceScopedNode<SuffixNode,SuffixNode.Builder> - Returns:
- the node type
-
builder
Creates aSuffixNodebuilder.- Returns:
- the builder
-
builder
Creates aSuffixNodebuilder.- Parameters:
suffix- the suffix to setpriority- the priority to set- Returns:
- the builder
-