com.magistuarmory.item.crafting.ModRecipes Maven / Gradle / Ivy
package com.magistuarmory.item.crafting;
import com.magistuarmory.EpicKnights;
import dev.architectury.registry.registries.DeferredRegister;
import dev.architectury.registry.registries.RegistrySupplier;
import net.minecraft.core.Registry;
import net.minecraft.world.item.crafting.RecipeSerializer;
public class ModRecipes
{
public static final DeferredRegister> RECIPE_SERIALIZERS = DeferredRegister.create(EpicKnights.ID, Registry.f_122915_);
public static final RegistrySupplier> HERALDRY_SERIALIZER = RECIPE_SERIALIZERS.register("heraldry_recipes", HeraldryRecipe::getSerializerInstance);
public static final RegistrySupplier> ARMOR_DECORATION_SERIALIZER = RECIPE_SERIALIZERS.register("armor_decoration_recipes", ArmorDecorationRecipe::getSerializerInstance);
public static final RegistrySupplier> DECORATION_REMOVE_SERIALIZER = RECIPE_SERIALIZERS.register("decoration_remove_recipes", DecorationRemoveRecipe::getSerializerInstance);
public static void init()
{
RECIPE_SERIALIZERS.register();
}
}