Jump to content

JakariaYT

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by JakariaYT

  1. So, I've been stuck trying to figure out a way of using dyes in custom recipes. I can only get ink sacs to work because that's the default. How would I do this? package com.JakarianStudios.ConcreteMod; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; public class Recipes { public static void Register(){ GameRegistry.addRecipe(new ItemStack(ConcreteMod.PressedDust, 4), new Object[]{"DD", "DD", 'D', ConcreteMod.ConcreteDust}); GameRegistry.addRecipe(new ItemStack(ConcreteMod.BlackConcrete, 8), new Object[]{"DDD", "DBD","DDD", 'D', ConcreteMod.ConcreteBlock, 'B', Items.dye}); GameRegistry.addRecipe(new ItemStack(ConcreteMod.BlueConcrete, 8), new Object[]{"DDD","DBD","DDD", 'D', ConcreteMod.ConcreteBlock, 'B', Items.dye}); } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.