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$InsertionPosition
intermediary net/minecraft/class_3288$class_3289
official atx$b
  • Enum Constant Details

    • TOP

      public static final ResourcePackProfile.InsertionPosition TOP
      Mappings:
      Namespace Name Mixin selector
      named TOP Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;TOP:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
      intermediary field_14280 Lnet/minecraft/class_3288$class_3289;field_14280:Lnet/minecraft/class_3288$class_3289;
      official a Latx$b;a:Latx$b;
    • BOTTOM

      public static final ResourcePackProfile.InsertionPosition BOTTOM
      Mappings:
      Namespace Name Mixin selector
      named BOTTOM Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;BOTTOM:Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
      intermediary field_14281 Lnet/minecraft/class_3288$class_3289;field_14281:Lnet/minecraft/class_3288$class_3289;
      official b Latx$b;b:Latx$b;
  • Constructor Details

    • InsertionPosition

      private InsertionPosition()
  • Method Details

    • values

      public static ResourcePackProfile.InsertionPosition[] 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

      public static ResourcePackProfile.InsertionPosition valueOf(String name)
      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 name
      NullPointerException - 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 insert Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;insert(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
      official a Latx$b;a(Ljava/util/List;Ljava/lang/Object;Ljava/util/function/Function;Z)I
    • inverse

      Mappings:
      Namespace Name Mixin selector
      named inverse Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;inverse()Lnet/minecraft/resource/ResourcePackProfile$InsertionPosition;
      intermediary method_14467 Lnet/minecraft/class_3288$class_3289;method_14467()Lnet/minecraft/class_3288$class_3289;
      official a Latx$b;a()Latx$b;