public enum SkinLayer extends Enum<SkinLayer>
Enum Constant and Description |
---|
CAPE |
HAT |
JACKET |
LEFT_PANTS_LEG |
LEFT_SLEEVE |
RIGHT_PANTS_LEG |
RIGHT_SLEEVE |
Modifier and Type | Method and Description |
---|---|
int |
getID() |
static Collection<SkinLayer> |
getLayers(int value) |
int |
getShifted() |
static int |
getValue(Iterable<SkinLayer> active) |
static int |
getValue(SkinLayer[] active) |
boolean |
isActive(int value) |
static SkinLayer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkinLayer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkinLayer CAPE
public static final SkinLayer JACKET
public static final SkinLayer LEFT_SLEEVE
public static final SkinLayer RIGHT_SLEEVE
public static final SkinLayer LEFT_PANTS_LEG
public static final SkinLayer RIGHT_PANTS_LEG
public static final SkinLayer HAT
public static final SkinLayer[] ALL
public static SkinLayer[] values()
for (SkinLayer c : SkinLayer.values()) System.out.println(c);
public static SkinLayer 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 int getID()
public int getShifted()
public boolean isActive(int value)
public static int getValue(SkinLayer[] active)
public static Collection<SkinLayer> getLayers(int value)
Copyright © 2018. All rights reserved.