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

com.magistuarmory.item.crafting.ModRecipes Maven / Gradle / Ivy

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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy