类 PermissionAttachmentInfo

java.lang.Object
org.bukkit.permissions.PermissionAttachmentInfo

public class PermissionAttachmentInfo extends Object
Holds information on a permission and which PermissionAttachment provides it
  • 构造器详细资料

  • 方法详细资料

    • getPermissible

      public Permissible getPermissible()
      原文: Gets the permissible this is attached to
      返回:
      Permissible this permission is for
    • getPermission

      public String getPermission()
      Gets the permission being set
      返回:
      Name of the permission
    • getAttachment

      public PermissionAttachment getAttachment()
      Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
      返回:
      Attachment
    • getValue

      public boolean getValue()
      Gets the value of this permission
      返回:
      Value of the permission