The Meaning of Life, the Universe, and Everything.
Join Date:
3/14/2011
Posts:
62
Minecraft:
jackets1011
Member Details
I'm having problems with a smelting recipe.
Error:
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_Follower.java:19: cannot find symbol
symbol : variable blockID
location: class net.minecraft.src.Item
ModLoader.AddSmelting(mod_Follower.humanmeat.blockID, new ItemStack(cookhumanmea
t, 1));
^
1 error
==================
Modloader file:
package net.minecraft.src;
import java.util.*;
import java.util.Map;
public class mod_Follower extends BaseMod
{
public static final Item humanmeat = new ItemFood(4000, 10, false).setItemName("human meat");
public static final Item cookhumanmeat = new ItemFood(4001, 20, false).setItemName("cook human meat");
public mod_Follower()
{
ModLoader.RegisterEntityID(EntityFollower.class, "Follower", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(EntityFollower.class, 3, EnumCreatureType.creature);
ModLoader.AddSmelting(mod_Follower.humanmeat.blockID, new ItemStack(cookhumanmeat, 1));
}
public void AddRenderer(Map map)
{
map.put(EntityFollower.class, new RenderFollower(new ModelBiped(), 0.5F));
}
public String Version()
{
return "0.1";
}
}
Error:
Modloader file: