A whole lot of formatting cleanup
Also changes NBTHolder to a standard Constants class with subclasses for each category
This commit is contained in:
parent
f9802900db
commit
34dee6447b
74 changed files with 861 additions and 662 deletions
|
@ -21,6 +21,10 @@ public class PropertyString extends PropertyHelper {
|
|||
allowedValues = ImmutableSet.copyOf(hashSet);
|
||||
}
|
||||
|
||||
public static PropertyString create(String name, String[] values) {
|
||||
return new PropertyString(name, values);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection getAllowedValues() {
|
||||
return allowedValues;
|
||||
|
@ -34,8 +38,4 @@ public class PropertyString extends PropertyHelper {
|
|||
public String getName(Comparable value) {
|
||||
return this.getName0(value.toString());
|
||||
}
|
||||
|
||||
public static PropertyString create(String name, String[] values) {
|
||||
return new PropertyString(name, values);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue