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 named net/minecraft/resource/ResourcePackProfile$InsertionPositionintermediary net/minecraft/class_3288$class_3289official atm$b
-
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, ResourcePackPosition> 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 named TOPLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;TOP:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;intermediary field_14280Lnet/minecraft/class_3288$class_3289;field_14280:Lnet/minecraft/class_3288$class_3289;official aLatm$b;a:Latm$b;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector named BOTTOMLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;BOTTOM:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;intermediary field_14281Lnet/minecraft/class_3288$class_3289;field_14281:Lnet/minecraft/class_3288$class_3289;official bLatm$b;b:Latm$b;
-
-
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, ResourcePackPosition> profileGetter, boolean listInverted) - Mappings:
Namespace Name Mixin selector named insertLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;insert(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)Iofficial aLatm$b;a(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
-
inverse
- Mappings:
Namespace Name Mixin selector named inverseLnet/minecraft/resource/ResourcePackProfile$InsertionPosition;inverse()Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;intermediary method_14467Lnet/minecraft/class_3288$class_3289;method_14467()Lnet/minecraft/class_3288$class_3289;official aLatm$b;a()Latm$b;
-