Class PermissionGatherEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.server.permission.events.PermissionGatherEvent
- Direct Known Subclasses:
PermissionGatherEvent.Handler
,PermissionGatherEvent.Nodes
public class PermissionGatherEvent
extends net.minecraftforge.eventbus.api.Event
Fired to gather information for the permissions API, such as the
IPermissionHandler
and PermissionNode
s.
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
Modifier and TypeClassDescriptionstatic class
Used to register a new PermissionHandler, a server config value exists to choose which one to use.static class
Used to register your PermissionNodes, every node that you want to use, must be registered!Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
PermissionGatherEvent
public PermissionGatherEvent()
-