![JAR search and dependency download from the Maven repository](/logo.png)
dev.thomasglasser.sherdsapi.impl.SherdsApiRegistries Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sherdsapi-common-1.20.4 Show documentation
Show all versions of sherdsapi-common-1.20.4 Show documentation
Makes adding new pottery sherds easier
The newest version!
package dev.thomasglasser.sherdsapi.impl;
import dev.thomasglasser.sherdsapi.SherdsApi;
import net.minecraft.core.Registry;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
public class SherdsApiRegistries
{
public static final ResourceKey> SHERD = createRegistryKey("sherd");
public static ResourceKey sherdKey(ResourceLocation rl)
{
return ResourceKey.create(SherdsApiRegistries.SHERD, rl);
}
private static ResourceKey> createRegistryKey(String pName)
{
return ResourceKey.createRegistryKey(SherdsApi.modLoc(pName));
}
public static void init() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy