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.19.2-epic-knights-fabric Show documentation
Show all versions of 1.19.2-epic-knights-fabric Show documentation
mod that adds medieval stuff to the game
The newest version!
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_2378;
public class ModRecipes
{
public static final DeferredRegister> RECIPE_SERIALIZERS = DeferredRegister.create(EpicKnights.ID, class_2378.field_25085);
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();
}
}