类 PermissionAttachmentInfo

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

public class PermissionAttachmentInfo extends Object
保存关于权限以及提供该权限的PermissionAttachment的信息
  • 构造器详细资料

  • 方法详细资料

    • getPermissible

      @NotNull public @NotNull Permissible getPermissible()
      获取此权限附加到的可权限对象.

      原文: Gets the permissible this is attached to

      返回:
      此权限所属的Permissible
    • getPermission

      @NotNull public @NotNull String getPermission()
      获取被设置的权限.

      原文: Gets the permission being set

      返回:
      权限名称
    • getAttachment

      @Nullable public @Nullable PermissionAttachment getAttachment()
      获取提供此权限的附件. 对于默认权限(通常是父权限)可能为null.

      原文: Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).

      返回:
      附件
    • getValue

      public boolean getValue()
      获取此权限的值.

      原文: Gets the value of this permission

      返回:
      权限的值