public class mod_turtle extends BaseMod
{
public mod_turtle()
{
ModLoader.RegisterEntityID(net.minecraft.src.Entityturtle.class, "Turtle", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(net.minecraft.src.Entityturtle.class, "16", EnumCreatureType.creature);
}
public String Version()
{
return "Turtle v1.0 [MC Beta 1.8.1]";
}
public void AddRenderer(Map map){
{
map.put(EntityTurtle.class, new RenderSilverfish(new ModelSilverfish(), 0.5f));
}
that is my code and my error is...... warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_turtle.java:23: error: reached end of file while parsing }
can someone give me some advice to fix this? from what ive found im missing a end mark somewhere
import java.util.Map;
import net.minecraft.client.Minecraft;
public class mod_turtle extends BaseMod
{
public mod_turtle()
{
ModLoader.RegisterEntityID(net.minecraft.src.Entityturtle.class, "Turtle", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(net.minecraft.src.Entityturtle.class, "16", EnumCreatureType.creature);
}
public String Version()
{
return "Turtle v1.0 [MC Beta 1.8.1]";
}
public void AddRenderer(Map map){
{
map.put(EntityTurtle.class, new RenderSilverfish(new ModelSilverfish(), 0.5f));
}
that is my code and my error is...... warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_turtle.java:23: error: reached end of file while parsing }
can someone give me some advice to fix this? from what ive found im missing a end mark somewhere
if you dnt i would be glad to help