Enum ResourcePackProfile.InsertionPosition

java.lang.Object
java.lang.Enum<ResourcePackProfile.InsertionPosition>
net.minecraft.resource.ResourcePackProfile.InsertionPosition
All Implemented Interfaces:
Serializable, Comparable<ResourcePackProfile.InsertionPosition>, java.lang.constant.Constable
Enclosing class:
ResourcePackProfile

public static enum ResourcePackProfile.InsertionPosition
extends Enum<ResourcePackProfile.InsertionPosition>
Mappings:
Namespace Name
official ack$b
intermediary net/minecraft/class_3288$class_3289
named net/minecraft/resource/ResourcePackProfile$InsertionPosition
  • Enum Constant Details

    • TOP

      public static final ResourcePackProfile.InsertionPosition TOP
      Mappings:
      Namespace Name Mixin selector
      official a Lack$b;a:Lack$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

      public static final ResourcePackProfile.InsertionPosition BOTTOM
      Mappings:
      Namespace Name Mixin selector
      official b Lack$b;b:Lack$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

      public static ResourcePackProfile.InsertionPosition[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ResourcePackProfile.InsertionPosition valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - 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 Lack$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 Lack$b;a()Lack$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;