Package thaumic.tinkerer.common.registry

Source Code of thaumic.tinkerer.common.registry.ThaumicTinkererArcaneRecipe

package thaumic.tinkerer.common.registry;

import net.minecraft.item.ItemStack;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.api.aspects.AspectList;
import thaumcraft.api.crafting.ShapedArcaneRecipe;
import thaumcraft.common.config.ConfigResearch;

public class ThaumicTinkererArcaneRecipe extends ThaumicTinkererRecipe {

  public String name;
  public String research;
  public ItemStack output;
  public AspectList aspects;
  private final Object[] stuff;
  public Object[] recipies;

  public ThaumicTinkererArcaneRecipe(String name, String research, ItemStack output, AspectList aspects, Object... stuff) {
    this.name = name;
    this.research = research;
    this.output = output;
    this.aspects = aspects;
    this.stuff = stuff;
  }

  @Override
  public void registerRecipe() {
    ShapedArcaneRecipe recipe = ThaumcraftApi.addArcaneCraftingRecipe(research, output, aspects, stuff);
    ConfigResearch.recipes.put(name, recipe);
  }
}
TOP

Related Classes of thaumic.tinkerer.common.registry.ThaumicTinkererArcaneRecipe

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.