Interface PlatformPermission

All Superinterfaces:
Permission
All Known Implementing Classes:
BuiltinPermission

@API(status=STABLE, since="2.0.0-milestone.3.5") public interface PlatformPermission extends Permission
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
    net.minecraft.network.chat.Component
     
    net.minecraft.network.chat.Component
     
    boolean
    Determines whether this permission is allowed by default, when it is not configured (yet) in a Security Card.
  • Method Details

    • getName

      net.minecraft.network.chat.Component getName()
      Returns:
      the permission name
    • getDescription

      net.minecraft.network.chat.Component getDescription()
      Returns:
      a short description of the permission
    • getOwnerName

      net.minecraft.network.chat.Component getOwnerName()
      Returns:
      the name of the mod that adds this permission
    • isAllowedByDefault

      boolean isAllowedByDefault()
      Determines whether this permission is allowed by default, when it is not configured (yet) in a Security Card.
      Returns:
      true if this permission is allowed by default, false otherwise