aether-legacy/src/main/java/com/gildedgames/the_aether/api/RegistryEntry.java
2020-08-13 23:29:22 -07:00

31 lines
617 B
Java

package com.gildedgames.the_aether.api;
import net.minecraft.util.ResourceLocation;
public class RegistryEntry {
private ResourceLocation location;
public RegistryEntry setRegistryName(String modid, String location) {
this.location = new ResourceLocation(modid, location);
return this;
}
public RegistryEntry setRegistryName(String location) {
this.location = new ResourceLocation(location);
return this;
}
public RegistryEntry setRegistryName(ResourceLocation location) {
this.location = location;
return this;
}
public ResourceLocation getRegistryName() {
return this.location;
}
}