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 aex$b
intermediary net/minecraft/class_3288$class_3289
named 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> int
insert
(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 a
Laex$b;a:Laex$b;
intermediary field_14280
Lnet/minecraft/class_3288$class_3289;field_14280:Lnet/minecraft/class_3288$class_3289;
named TOP
Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;TOP:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector official b
Laex$b;b:Laex$b;
intermediary field_14281
Lnet/minecraft/class_3288$class_3289;field_14281:Lnet/minecraft/class_3288$class_3289;
named BOTTOM
Lnet/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 a
Laex$b;a(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
intermediary method_14468
Lnet/minecraft/class_3288$class_3289;method_14468(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
named insert
Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;insert(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
-
inverse
- Mappings:
Namespace Name Mixin selector official a
Laex$b;a()Laex$b;
intermediary method_14467
Lnet/minecraft/class_3288$class_3289;method_14467()Lnet/minecraft/class_3288$class_3289;
named inverse
Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;inverse()Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
-