public static enum ModrinthPermissionMask.PermissionType extends Enum<ModrinthPermissionMask.PermissionType>
| Enum Constant and Description |
|---|
DELETE_PROJECT
Whether the member can delete the project
|
DELETE_VERSION
Whether the member can delete versions from the project
|
EDIT_BODY
Whether the member can edit the project body
|
EDIT_DETAILS
Whether the member can edit the project details
|
EDIT_MEMBER
Whether the member can edit other members
|
MANAGE_INVITES
Whether the member can manage invites
|
REMOVE_MEMBER
Whether the member can remove other members
|
UPLOAD_VERSION
Whether the member can upload versions to the project
|
VIEW_ANALYTICS
Whether the member can view analytics
|
VIEW_REVENUE
Whether the member can view revenue
|
| Modifier and Type | Method and Description |
|---|---|
static ModrinthPermissionMask.PermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModrinthPermissionMask.PermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModrinthPermissionMask.PermissionType UPLOAD_VERSION
public static final ModrinthPermissionMask.PermissionType DELETE_VERSION
public static final ModrinthPermissionMask.PermissionType EDIT_DETAILS
public static final ModrinthPermissionMask.PermissionType EDIT_BODY
public static final ModrinthPermissionMask.PermissionType MANAGE_INVITES
public static final ModrinthPermissionMask.PermissionType REMOVE_MEMBER
public static final ModrinthPermissionMask.PermissionType EDIT_MEMBER
public static final ModrinthPermissionMask.PermissionType DELETE_PROJECT
public static final ModrinthPermissionMask.PermissionType VIEW_ANALYTICS
public static final ModrinthPermissionMask.PermissionType VIEW_REVENUE
public static ModrinthPermissionMask.PermissionType[] values()
for (ModrinthPermissionMask.PermissionType c : ModrinthPermissionMask.PermissionType.values()) System.out.println(c);
public static ModrinthPermissionMask.PermissionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2026. All rights reserved.