package org.inventivetalent.nbt.annotation;

import lombok.Data;

@Data
public class NBTInfo {

	protected final String[]    key;
	protected final int         type;
	protected final boolean     read;
	protected final boolean     write;
	protected final NBTPriority priority;

}

@@ -85,16 +85,47 @@
  NBTInfo
+ implements Comparable%3CNBTInfo%3E
  %7B%0A%0A%09pro
@@ -300,10 +300,111 @@
 ority;%0A%0A
+%09@Override%0A%09public int compareTo(NBTInfo o) %7B%0A%09%09return priority.ordinal() - o.priority.ordinal();%0A%09%7D%0A
 %7D%0A

implement comprable