Package net.luckperms.api.node.types
Interface SuffixNode
-
- All Superinterfaces:
ChatMetaNode<SuffixNode,SuffixNode.Builder>,Node,ScopedNode<SuffixNode,SuffixNode.Builder>
public interface SuffixNode extends ChatMetaNode<SuffixNode,SuffixNode.Builder>
A sub-type ofNodeused to store suffix assignments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSuffixNode.BuilderASuffixNodebuilder.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static @NonNull SuffixNode.Builderbuilder()Creates aSuffixNodebuilder.static @NonNull SuffixNode.Builderbuilder(@NonNull String suffix, int priority)Creates aSuffixNodebuilder.default @NonNull NodeType<SuffixNode>getType()Gets the type of the node.-
Methods inherited from interface net.luckperms.api.node.types.ChatMetaNode
getMetaType, getMetaValue, getPriority
-
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
toBuilder
-
-
-
-
Method Detail
-
getType
default @NonNull NodeType<SuffixNode> 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
static @NonNull SuffixNode.Builder builder()
Creates aSuffixNodebuilder.- Returns:
- the builder
-
builder
static @NonNull SuffixNode.Builder builder(@NonNull String suffix, int priority)
Creates aSuffixNodebuilder.- Parameters:
suffix- the suffix to setpriority- the priority to set- Returns:
- the builder
-
-