com.magistuarmory.item.crafting.ModRecipes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of 1.20.2-epic-knights-common Show documentation
Show all versions of 1.20.2-epic-knights-common Show documentation
mod that adds medieval stuff to the game
package com.magistuarmory.item.crafting;
import com.magistuarmory.EpicKnights;
import dev.architectury.registry.registries.DeferredRegister;
import dev.architectury.registry.registries.RegistrySupplier;
import net.minecraft.class_1865;
import net.minecraft.class_7924;
public class ModRecipes
{
public static final DeferredRegister> RECIPE_SERIALIZERS = DeferredRegister.create(EpicKnights.ID, class_7924.field_41216);
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();
}
}