类 PermissionGatherEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.server.permission.events.PermissionGatherEvent
public abstract class PermissionGatherEvent
extends net.neoforged.bus.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!
-
嵌套类概要
嵌套类修饰符和类型类说明static 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! -
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
PermissionGatherEvent
public PermissionGatherEvent()
-