类 PermissionGatherEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.server.permission.events.PermissionGatherEvent
直接已知子类:
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 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!

  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    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!

    从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    从类继承的方法 net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • PermissionGatherEvent

      public PermissionGatherEvent()