Registrarse

Bienvenido a Foro Minecraft.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Resultados 1 al 2 de 2
  1. #1
    Junior Member
    Fecha de ingreso
    junio-2013
    Mensajes
    11

    [MCreator] Problema al recompilar

    Hola;

    Estoy teniendo unos problemas al compilar un mod.

    Aquí os dejo el error:

    Código:
    == MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
    "scalac" is not found on the PATH.  Scala files will not be recompiled
    # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config
    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"C:\Program Files\Java\jdk1.7.0_21\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1
    
    
    == ERRORS FOUND in JAVA CODE ==
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:111: error: '{' expected
    public class mod_mena de Lignito Mod  extends BaseMod{
                         ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:113: error: ';' expected
    public mod_mena de Lignito Mod (){}
                      ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:115: error: ';' expected
    public static BlockMena de Lignito Mod  block;
                              ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:115: error: ';' expected
    public static BlockMena de Lignito Mod  block;
                                          ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:115: error: <identifier> expected
    public static BlockMena de Lignito Mod  block;
                                                 ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:130: error: ')' expected
    block = (BlockMena de Lignito Mod )(new BlockMena de Lignito Mod (160).setHardness(2.15F)
                      ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:130: error: ';' expected
    block = (BlockMena de Lignito Mod )(new BlockMena de Lignito Mod (160).setHardness(2.15F)
                         ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:130: error: ';' expected
    block = (BlockMena de Lignito Mod )(new BlockMena de Lignito Mod (160).setHardness(2.15F)
                                     ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:130: error: ';' expected
    block = (BlockMena de Lignito Mod )(new BlockMena de Lignito Mod (160).setHardness(2.15F)
                                                        ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:130: error: ';' expected
    block = (BlockMena de Lignito Mod )(new BlockMena de Lignito Mod (160).setHardness(2.15F)
                                                                    ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:136: error: ';' expected
    .setCreativeTab(CreativeTabs.tabBlock)
                                          ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:147: error: ')' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                 ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:147: error: not a statement
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
    ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:147: error: ';' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                    ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:147: error: not a statement
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                                       ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:147: error: ';' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                                               ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:157: error: ')' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                 ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:157: error: not a statement
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
    ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:157: error: ';' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                    ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:157: error: not a statement
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                                       ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:157: error: ';' expected
    (new WorldGenMinable(mod_mena de Lignito Mod .block.blockID, 31)).generate(world, rand, randPosX, randPosY, randPosZ);
                                                               ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:161: error: '{' expected
    static class BlockMena de Lignito Mod  extends Block
                          ^
    
    
    src\minecraft\net\minecraft\src\mod_mena de Lignito Mod .java:174: error: ';' expected
    protected BlockMena de Lignito Mod (int i)
                          ^
    
    
    23 errors
    ==================
    
    
    !! Can not find server sources, try decompiling !!

    Acabo de empezar con este programa , posiblemente sea una tonteria.

    Tengo Windows 64bits (con el JavaSDK correspondiente instalado)
    un saludo!
    Última edición por piluve; 03-jun-2013 a las 13:00
    Programador C#, Java,JavaS... Diseñador de videojuego (unity,UDK...)


  2. #2
    Junior Member
    Fecha de ingreso
    junio-2013
    Mensajes
    11
    Solucionado!

    He reinstalado un para de veces el programa y ahora parece que va bien.

    Un saludo!
    Programador C#, Java,JavaS... Diseñador de videojuego (unity,UDK...)


 

 

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •  
Back to Top