Class PermissionGatherEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.server.permission.events.PermissionGatherEvent
- Direct Known Subclasses:
 PermissionGatherEvent.Handler,PermissionGatherEvent.Nodes
public abstract class PermissionGatherEvent
extends net.neoforged.bus.api.Event
Fired to gather information for the permissions API, such as the 
IPermissionHandler and PermissionNodes.
 
 PermissionGatherEvent.Handler allows to set a new PermissionHandler
 PermissionGatherEvent.Nodes allows you to register new PermissionNodes
Note: All PermissionNodes that you want to use, must be registered!
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to register a new PermissionHandler, a server config value exists to choose which one to use.static classUsed to register your PermissionNodes, every node that you want to use, must be registered!Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult 
- 
Constructor Details
- 
PermissionGatherEvent
public PermissionGatherEvent() 
 -