Interface PriorityOption

All Superinterfaces:
ResourcePackOption<Integer>

public interface PriorityOption extends ResourcePackOption<Integer>
Allows specifying a pack priority that decides the order on how packs are sent to the client. If two resource packs modify the same texture - for example if one removes the pumpkin overlay and the other is just making it translucent, one of the packs will override the other. Specifically, the pack with the higher priority will override the pack changes of the lower priority.
Since:
2.6.2
  • Field Details

  • Method Details

    • priority

      static PriorityOption priority(int priority)
      Constructs a priority option based on a value between 0 and 10. The higher the number, the higher will this pack appear in the resource pack stack.
      Parameters:
      priority - an integer that is above 0, but smaller than 10
      Returns:
      the priority option
      Since:
      2.6.2