Search in sources :

Example 1 with RecipeDuster

use of de.canitzp.metalworks.machine.duster.RecipeDuster in project Metalworks by canitzp.

the class Registry method registerMachineRecipes.

@SubscribeEvent
public static void registerMachineRecipes(RegistryEvent.Register<IMachineRecipe> event) {
    IForgeRegistry<IMachineRecipe> reg = event.getRegistry();
    // Duster
    reg.register(new RecipeDuster("quartz_sand_dust", new OreDictStack("gemQuartz"), new OreDictStack("sand"), new ItemStack(quartzSandDust, 2), 0, 0));
    // Crusher
    reg.register(new RecipeCrusher("wool_string", new OreDictStack(new ItemStack(Blocks.WOOL, 1, OreDictionary.WILDCARD_VALUE)), new ItemStack(Items.STRING, 2), new ItemStack(Items.STRING), 50, 100, 50));
}
Also used : ItemStack(net.minecraft.item.ItemStack) RecipeCrusher(de.canitzp.metalworks.machine.crusher.RecipeCrusher) IMachineRecipe(de.canitzp.metalworks.machine.IMachineRecipe) RecipeDuster(de.canitzp.metalworks.machine.duster.RecipeDuster) OreDictStack(de.canitzp.metalworks.recipe.OreDictStack) SubscribeEvent(net.minecraftforge.fml.common.eventhandler.SubscribeEvent)

Aggregations

IMachineRecipe (de.canitzp.metalworks.machine.IMachineRecipe)1 RecipeCrusher (de.canitzp.metalworks.machine.crusher.RecipeCrusher)1 RecipeDuster (de.canitzp.metalworks.machine.duster.RecipeDuster)1 OreDictStack (de.canitzp.metalworks.recipe.OreDictStack)1 ItemStack (net.minecraft.item.ItemStack)1 SubscribeEvent (net.minecraftforge.fml.common.eventhandler.SubscribeEvent)1