public static enum ResourcePackProfile.InsertionPosition extends Enum<ResourcePackProfile.InsertionPosition>
Modifier and Type | Method and Description |
---|---|
<T> int |
insert(List<T> items,
T item,
Function<T,ResourcePackProfile> profileGetter,
boolean listInverted) |
ResourcePackProfile.InsertionPosition |
inverse() |
static ResourcePackProfile.InsertionPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePackProfile.InsertionPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePackProfile.InsertionPosition TOP
public static final ResourcePackProfile.InsertionPosition BOTTOM
public static ResourcePackProfile.InsertionPosition[] values()
for (ResourcePackProfile.InsertionPosition c : ResourcePackProfile.InsertionPosition.values()) System.out.println(c);
public static ResourcePackProfile.InsertionPosition 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 <T> int insert(List<T> items, T item, Function<T,ResourcePackProfile> profileGetter, boolean listInverted)
public ResourcePackProfile.InsertionPosition inverse()