Interface NodeClearEvent
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull @Unmodifiable Set<Node> Gets an immutable copy of the holders data before the changegetNodes()Gets the nodes that were clearedMethods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPermsMethods inherited from interface net.luckperms.api.event.node.NodeMutateEvent
getDataAfter, getDataType, getTarget, isGroup, isUser
-
Method Details
-
getNodes
@NonNull @Unmodifiable Set<Node> getNodes()Gets the nodes that were cleared- Returns:
- the nodes that were removed
- Since:
- 5.3
-
getDataBefore
Description copied from interface:NodeMutateEventGets an immutable copy of the holders data before the change- Specified by:
getDataBeforein interfaceNodeMutateEvent- Returns:
- the data before the change
-