Skip to content

Commit

Permalink
More recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed Jun 9, 2024
1 parent b4dc940 commit 606adc5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mod/emt/harkenscythe/init/HSItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ public class HSItems
@GameRegistry.ObjectHolder("livingmetal_boots")
public static HSArmor livingmetal_boots;

/*@GameRegistry.ObjectHolder("soul_cake")
public static HSItemBlockSpecial soul_cake;*/
@GameRegistry.ObjectHolder("soul_cake")
public static HSItemBlockSpecial soul_cake;
@GameRegistry.ObjectHolder("soul_cookie")
public static HSFood soul_cookie;

Expand Down
9 changes: 9 additions & 0 deletions src/main/java/mod/emt/harkenscythe/init/HSRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
import mod.emt.harkenscythe.entities.render.HSSoulRender;
import mod.emt.harkenscythe.tileentities.HSSoulAltarTE;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionUtils;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.event.RegistryEvent;
Expand Down Expand Up @@ -66,7 +70,12 @@ public static void registerTileEntities()

public static void registerRecipes()
{
HSSoulAltarRecipes.addRecipe(Items.CAKE, HSItems.soul_cake, 10);
HSSoulAltarRecipes.addRecipe(Items.COOKIE, HSItems.soul_cookie, 10);
HSSoulAltarRecipes.addRecipe(Items.GLASS_BOTTLE, Items.EXPERIENCE_BOTTLE, 20);
HSSoulAltarRecipes.addRecipe(Items.IRON_INGOT, HSItems.livingmetal_ingot, 10);
HSSoulAltarRecipes.addRecipe(new ItemStack(Blocks.SAND).getItem(), new ItemStack(Blocks.SOUL_SAND).getItem(), 10); // TODO: OreDictionary
HSSoulAltarRecipes.addRecipe(PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.WATER).getItem(), Items.DRAGON_BREATH, 30); // TODO: Move this to blood
}

@SideOnly(Side.CLIENT)
Expand Down

0 comments on commit 606adc5

Please sign in to comment.