Package net.minecraft.resource
Enum Class ResourcePackProfile.InsertionPosition
java.lang.Object
java.lang.Enum<ResourcePackProfile.InsertionPosition>
net.minecraft.resource.ResourcePackProfile.InsertionPosition
- All Implemented Interfaces:
Serializable,Comparable<ResourcePackProfile.InsertionPosition>,Constable
- Enclosing class:
ResourcePackProfile
public static enum ResourcePackProfile.InsertionPosition
extends Enum<ResourcePackProfile.InsertionPosition>
- Mappings:
Namespace Name official akg$bintermediary net/minecraft/class_3288$class_3289named net/minecraft/resource/ResourcePackProfile$InsertionPosition
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> intinsert(List<T> items, T item, Function<T, ResourcePackProfile> profileGetter, boolean listInverted) inverse()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
- Mappings:
Namespace Name Mixin selector official aLakg$b;a:Lakg$b;intermediary field_14280Lnet/minecraft/class_3288$class_3289;field_14280:Lnet/minecraft/class_3288$class_3289;named TOPLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;TOP:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector official bLakg$b;b:Lakg$b;intermediary field_14281Lnet/minecraft/class_3288$class_3289;field_14281:Lnet/minecraft/class_3288$class_3289;named BOTTOMLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;BOTTOM:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
-
-
Constructor Details
-
InsertionPosition
private InsertionPosition()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
insert
public <T> int insert(List<T> items, T item, Function<T, ResourcePackProfile> profileGetter, boolean listInverted) - Mappings:
Namespace Name Mixin selector official aLakg$b;a(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)Iintermediary method_14468Lnet/minecraft/class_3288$class_3289;method_14468(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)Inamed insertLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;insert(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
-
inverse
- Mappings:
Namespace Name Mixin selector official aLakg$b;a()Lakg$b;intermediary method_14467Lnet/minecraft/class_3288$class_3289;method_14467()Lnet/minecraft/class_3288$class_3289;named inverseLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;inverse()Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
-