Enum Class Pack.Position

java.lang.Object
java.lang.Enum<Pack.Position>
net.minecraft.server.packs.repository.Pack.Position
All Implemented Interfaces:
Serializable, Comparable<Pack.Position>, Constable
Enclosing class:
Pack

public static enum Pack.Position extends Enum<Pack.Position>
  • Enum Constant Details

  • Constructor Details

    • Position

      private Position()
  • Method Details

    • values

      public static Pack.Position[] 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 Pack.Position 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> p_10471_, T p_10472_, Function<T,PackSelectionConfig> p_10473_, boolean p_10474_)
    • opposite

      public Pack.Position opposite()