2020-04-03 11:29:59 +02:00
|
|
|
package us.myles.ViaVersion.api.rewriters;
|
|
|
|
|
2020-08-12 22:14:50 +02:00
|
|
|
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");
|
2020-12-03 11:14:35 +01:00
|
|
|
|
|
|
|
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
|
|
|
}
|