ViaVersion/common/src/main/java/us/myles/ViaVersion/api/rewriters/RegistryType.java

27 lines
559 B
Java
Raw Normal View History

2020-04-03 11:29:59 +02:00
package us.myles.ViaVersion.api.rewriters;
public enum RegistryType {
2020-04-03 11:29:59 +02:00
2020-12-16 18:48:17 +01:00
BLOCK("block"),
ITEM("item"),
FLUID("fluid"),
ENTITY("entity_type"),
GAME_EVENT("game_event");
public static RegistryType[] getValues() {
return VALUES;
}
2020-12-16 18:48:17 +01:00
private static final RegistryType[] VALUES = values();
private final String resourceLocation;
RegistryType(final String resourceLocation) {
this.resourceLocation = resourceLocation;
}
public String getResourceLocation() {
return resourceLocation;
}
2020-04-03 11:29:59 +02:00
}