All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.thomasglasser.sherdsapi.impl.SherdsApiRegistries Maven / Gradle / Ivy

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