Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions TabAPI/src/main/java/org/mcsg/double0negative/tabapi/Priority.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package org.mcsg.double0negative.tabapi;

public enum Priority {

REMOVE(-2), //No longer active
BACKGROUND(-1), //Only show if nothing else is there
NORMAL(0),
HIGH(1),
HIGHEST(2); // Always show

private int priority;

private Priority(int priority){
this.priority = priority;
}

public int getPriorityIntValue(){
return this.priority;
}

public String toString(){
return String.valueOf(this.priority);
}
}