public enum Permission extends Enum<Permission>
Version 1.1
MIT License
Copyright (c) 2017 by Shynixn
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Modifier and Type | Method and Description |
|---|---|
String |
get()
Deprecated.
|
String[] |
getPermission()
Returns all permission in an array.
|
static Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission ALL_ENGINES
public static final Permission SINGLE_ENGINE
public static final Permission ALL_SIMPLEBLOCKCOSTUMES
public static final Permission SINGLE_SIMPLEBLOCKCOSTUME
public static final Permission ALL_COLOREDBLOCKCOSTUMES
public static final Permission SINGLE_COLOREDBLOCKCOSTUME
public static final Permission ALL_PLAYERHEADCOSTUMES
public static final Permission SINGLE_PLAYERHEADCOSTUME
public static final Permission ALL_MINECRAFTHEADCOSTUMES
public static final Permission SINGLE_MINECRAFTHEADCOSTUME
public static final Permission ALL_HEADDATABASECOSTUMES
public static final Permission ALL_PARTICLES
public static final Permission SINGLE_PARTICLE
public static final Permission ACTION_RENAME
public static final Permission ACTION_CUSTOMSKULL
public static final Permission ACTION_CANNON
public static final Permission ACTION_RIDE
public static final Permission ACTION_WEAR
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission 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 nullpublic String[] getPermission()
@Deprecated public String get()
Copyright © 2018. All rights reserved.