src\minecraft\net\minecraft\src\mod_BetterVillages.java:5: error: mod_BetterVill
ages is not abstract and does not override abstract method load() in BaseMod
public class mod_BetterVillages extends BaseMod
^
1 error
1 warning
==================
mod_BetterVillages.java
package net.minecraft.src;
import java.util.Random;
import java.util.Map;
public class mod_BetterVillages extends BaseMod
{
public mod_BetterVillages()
{
ModLoader.RegisterEntityID(EntityPigman.class, "Pigman miner", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(EntityPigman.class, 0, 0, 0, EnumCreatureType.creature);
ModLoader.RegisterEntityID(EntityPigmanA.class, "Pigman farmer", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(EntityPigmanA.class, 0, 0, 0, EnumCreatureType.creature);
baconRaw.iconIndex = ModLoader.addOverride("/gui/items.png", "/tbvmpngs/rawbacon.png");
ModLoader.AddName(baconRaw, "Raw Bacon");
baconCooked.iconIndex = ModLoader.addOverride("/gui/items.png", "/tbvmpngs/cookedbacon.png");
ModLoader.AddName(baconCooked, "Cooked Bacon");
ModLoader.AddSmelting(mod_BetterVillages.baconRaw.shiftedIndex, new ItemStack(baconCooked, 1));
}
public void AddRenderer(Map map)
{
map.put(EntityPigman.class, new RenderBiped(new ModelBiped(), 0.5F));
map.put(EntityPigmanA.class, new RenderBiped(new ModelBiped(), 0.5F));
}
public String Version()
{
return "Better Villages for MC 1.9pre5";
}
public static final Item baconRaw = new ItemFood(9000, 3, false).setIconCoord(13, 7).setItemName("baconRaw");
public static final Item baconCooked = new ItemFood(9001, 6, true).setIconCoord(13, 7).setItemName("baconCooked");
}
Ima betcha it's not the exact same error. Post error/code again pl0x :tongue.gif:
Okay!
Error:
src\minecraft\net\minecraft\src\mod_BetterVillages.java:5: error: mod_BetterVill
ages is not abstract and does not override abstract method getVersion() in BaseM
od
public class mod_BetterVillages extends BaseMod
^
1 error
1 warning
==================
I'm updating the mod, but it's one error that I have to solve. Can you help me with this?
Error:
mod_BetterVillages.java
Where? In BaseMod.java?
EDIT: Found this is BaseMod.java:
I will try it! Thanks!
EDIT: Nope, still the same error.
Okay!
Error:
Yay, it works now! Thank you guys! You will get credit in my mod post when I release the update!
I looked ALL OVER the internet to find answers. Yours was the ONLY one that gave me results!
=P
MCZaphelon
Um... What do you mean?