public enum Permission extends Enum<Permission>
Do not remove this header!
Version 1.0
MIT License
Copyright (c) 2017
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()
Returns the permission string
|
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 ALLPETTYPES
public static final Permission SINGLEPETTYPE
public static final Permission RENAMEPET
public static final Permission RENAMESKULL
public static final Permission CANNON
public static final Permission RIDEPET
public static final Permission WEARPET
public static final Permission ALLDEFAULTCOSTUMES
public static final Permission SINGLEDEFAULTCOSTUME
public static final Permission ALLCOLORCOSTUMES
public static final Permission SINGLECOLORCOSTUME
public static final Permission ALLCUSTOMCOSTUMES
public static final Permission SINGLECUSTOMCOSTUME
public static final Permission ALLMINECRAFTHEADSCOSTUMES
public static final Permission SINGLEMINECRAFTHEADSCOSTUME
public static final Permission ALLHEADATABASECOSTUMES
public static final Permission ALLPARTICLES
public static final Permission SINGLEPARTICLE
public static final Permission OWNINGAMECOSTUMES
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 get()
Copyright © 2017. All rights reserved.