Minecraft Mods erstellen [ModLoader]

08/03/2012 21:22 the_cake#526
Quote:
Originally Posted by Domekilla12 View Post
Lern erstmal selbst Programmieren dann weißt du wie schwer das ist und ich denke niemand hier würde das machen.
Stimmt so leicht ist das nicht.
08/04/2012 09:33 Domekilla12#527
Quote:
Originally Posted by Njahs View Post
"Programmieren" :rolleyes:
Ist doch so Java ist ne Programmiersprache und damit Programmiert man :DD
08/04/2012 17:03 link15236#528
Ich hab ein paar Problemchen : D
1) Wenn ich bei der Installation decompile ausführe kommt bei mir:
== Errors found ==

2out of 2 hunks ignored -- saving rejects to file
´net\minecraft \src\IntegratedSer#`

das:
1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderBlocks
.#'
kommt hingegen nicht.

2)Wenn ich nun eclipse starte steht unten schon die warnung:
Java Build Path Problems (1 item)
Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.6.
There are no JREs installed in the workspace that are strictly compatible
with this environment. Client Build path JRE System Library Problem

Wenn ich nun den Code reinschreibe kommen unten mehrere Problem Meldungen
hauptsächlich: Block cannot be resolved.

3) Wenn ich das ganze nun starte stürzt Minecraft ab und es kommt folgendes Log:
java.lang.RuntimeException: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1607)
at net.minecraft.src.ModLoader.onTick(ModLoader.java: 1163)
at net.minecraft.src.EntityRendererProxy.updateCamera AndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecra ft.java:857)
at net.minecraft.client.Minecraft.run(Minecraft.java: 751)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.ja va:1080)
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1599)
... 5 more
08/04/2012 18:45 Njahs#529
Quote:
Originally Posted by Domekilla12 View Post
Ist doch so Java ist ne Programmiersprache und damit Programmiert man :DD
Schon, aber kopieren und einfügen kannst du nicht Programmieren nennen.
08/04/2012 23:16 the_cake#530
Quote:
Originally Posted by link15236 View Post
Ich hab ein paar Problemchen : D
1) Wenn ich bei der Installation decompile ausführe kommt bei mir:
== Errors found ==

2out of 2 hunks ignored -- saving rejects to file
´net\minecraft \src\IntegratedSer#`

das:
1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderBlocks
.#'
kommt hingegen nicht.

2)Wenn ich nun eclipse starte steht unten schon die warnung:
Java Build Path Problems (1 item)
Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.6.
There are no JREs installed in the workspace that are strictly compatible
with this environment. Client Build path JRE System Library Problem

Wenn ich nun den Code reinschreibe kommen unten mehrere Problem Meldungen
hauptsächlich: Block cannot be resolved.

3) Wenn ich das ganze nun starte stürzt Minecraft ab und es kommt folgendes Log:
java.lang.RuntimeException: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1607)
at net.minecraft.src.ModLoader.onTick(ModLoader.java: 1163)
at net.minecraft.src.EntityRendererProxy.updateCamera AndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecra ft.java:857)
at net.minecraft.client.Minecraft.run(Minecraft.java: 751)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.ja va:1080)
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1599)
... 5 more
Welche java version hast du den ??
08/05/2012 11:03 link15236#531
Java SE 7 Update 05, also laut java die aktuellste
08/05/2012 12:33 thefaircheater#532
Was denkst warum ich frage?
Weil ich es selbst net gebacken bekomm
08/05/2012 18:09 Masut#533
Wie kann man verschiedene Hölzer machen z.B.
"XXX", "XXX", "XXX", Character.valueOf('X'), Block.Spruceplanks
});
das ich dann NUR durch ein bestimmten Woodplank was bekomme wäre cool wenn ihr schnell antwortet
08/05/2012 18:15 the_cake#534
Quote:
Originally Posted by Masut View Post
Wie kann man verschiedene Hölzer machen z.B.
"XXX", "XXX", "XXX", Character.valueOf('X'), Block.Spruceplanks
});
das ich dann NUR durch ein bestimmten Woodplank was bekomme wäre cool wenn ihr schnell antwortet
Code:
        ModLoader.AddRecipe(new ItemStack(Block.DEINBLOCK, 1), new Object[] {
            "X", Character.valueOf('X'), new ItemStack(Block.planks, 1, 1)
        });
Augebaut ist es so

Code:
        ModLoader.AddRecipe(new ItemStack(Block.DEINBLOCK, 1), new Object[] {
            "X", Character.valueOf('X'), new ItemStack(Block.planks, ANZAHL, STRING)
        });
08/05/2012 18:15 Masut#535
Quote:
Originally Posted by link15236 View Post
Ich hab ein paar Problemchen : D
1) Wenn ich bei der Installation decompile ausführe kommt bei mir:
== Errors found ==

2out of 2 hunks ignored -- saving rejects to file
´net\minecraft \src\IntegratedSer#`

das:
1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderBlocks
.#'
kommt hingegen nicht.

2)Wenn ich nun eclipse starte steht unten schon die warnung:
Java Build Path Problems (1 item)
Description Resource Path Location Type
Build path specifies execution environment JavaSE-1.6.
There are no JREs installed in the workspace that are strictly compatible
with this environment. Client Build path JRE System Library Problem

Wenn ich nun den Code reinschreibe kommen unten mehrere Problem Meldungen
hauptsächlich: Block cannot be resolved.

3) Wenn ich das ganze nun starte stürzt Minecraft ab und es kommt folgendes Log:
java.lang.RuntimeException: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1607)
at net.minecraft.src.ModLoader.onTick(ModLoader.java: 1163)
at net.minecraft.src.EntityRendererProxy.updateCamera AndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecra ft.java:857)
at net.minecraft.client.Minecraft.run(Minecraft.java: 751)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /tutorial/block/rubin_erz.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.ja va:1080)
at net.minecraft.src.ModLoader.registerAllTextureOver rides(ModLoader.java:1599)
... 5 more
Du musst mit Gimp oder Photoshop ein Bild erstellen das unter /mcp/eclipse/tutorial/block zu finden ist und dann auch Rubin_erz.png heißt es MUSS PNG sein :)
Also dein Error liegt nur daran das er dein hübsches Bildchen nicht gefunden hat :)

Ach und hast du auch die " gemacht?


Ach ich habe auch noch eine Frage wenn ich ein weiteren GEN für Items mache fordert Eclipse mich auf
aus einen der generatesurface einen generatesurface1 zumachen und bis jetzt habe ich die nicht gefunden nur den mit den normalen generatesurface
Natürlich stürzt das nicht ab oder so kann ganz normal starten.
Hab ich was falsch gemacht oder muss ich die Erze/Blume weitersuchen?
Hier nochmal meine codes(ohne den public static dingens undso :D )


PHP Code:
           int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen Rubinerz    
    
public void generateSurface(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++) {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen Rubinerz    
    
public void generateSurface(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(rubinerz.blockID4)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        }
    
//Gen Saphirerz
    
public void generateSurface1(World worldRandom randint chunkXint chunkZ){
            for(
int i 0< (9); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(saphirerz.blockID8)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        } 
08/06/2012 23:17 Universum--#536
Wirklich schön ;)
08/07/2012 09:01 the_cake#537
Quote:
Originally Posted by Universum-- View Post
weiß wer wie ma nne rüssi macht :3 ?
Mach ich auch noch ein tut kommt auch heute
08/07/2012 16:15 Masut#538
Hey ich habe eine Frage wenn ich ein weiteren GEN für Items mache fordert Eclipse mich auf
aus einen der generatesurface einen generatesurface1 zumachen und bis jetzt habe ich die nicht gefunden nur den mit den normalen generatesurface
Natürlich stürzt das nicht ab oder so kann ganz normal starten.
Hab ich was falsch gemacht oder muss ich die Erze/Blume weitersuchen?
Hier nochmal meine codes(ohne den public static dingens undso )

PHP Code:
           int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen BlueFlower
    
public void generateSurface2(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++) {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen Rubinerz    
    
public void generateSurface(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(rubinerz.blockID4)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        }
    
//Gen Saphirerz
    
public void generateSurface1(World worldRandom randint chunkXint chunkZ){
            for(
int i 0< (9); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(saphirerz.blockID8)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        } 
08/07/2012 20:11 the_cake#539
Quote:
Originally Posted by Masut View Post
Hey ich habe eine Frage wenn ich ein weiteren GEN für Items mache fordert Eclipse mich auf
aus einen der generatesurface einen generatesurface1 zumachen und bis jetzt habe ich die nicht gefunden nur den mit den normalen generatesurface
Natürlich stürzt das nicht ab oder so kann ganz normal starten.
Hab ich was falsch gemacht oder muss ich die Erze/Blume weitersuchen?
Hier nochmal meine codes(ohne den public static dingens undso )

PHP Code:
           int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen BlueFlower
    
public void generateSurface2(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++) {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(256);
            
int randPosZ chunkZ rand.nextInt(16);
            if(
world.getBlockId(randPosXrandPosYrandPosZ) == Block.grass.blockID) {
              (new 
WorldGenFlowers(blueflower.blockID)).generate(worldrandrandPosXrandPosYrandPosZ);
            }
        } 
}
//Gen Rubinerz    
    
public void generateSurface(World worldRandom randint chunkXint chunkZ){
        for(
int i 0< (13); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(rubinerz.blockID4)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        }
    
//Gen Saphirerz
    
public void generateSurface1(World worldRandom randint chunkXint chunkZ){
            for(
int i 0< (9); i++)
             {
            
int randPosX chunkX rand.nextInt(16);
            
int randPosY rand.nextInt(world.getHeight());
            
int randPosZ chunkZ rand.nextInt(16);
            (new 
WorldGenMinable(saphirerz.blockID8)).generate(worldrandrandPosXrandPosYrandPosZ);
             }
        } 
Warum willst du items generieren oder hab ich da was falsch verstanden ihn deiner frage

Morgen kommt das update
08/08/2012 19:08 morice1999#540
Hey ich habe ne Frage an Cake:
Machst du auch ein Tut übers eigene Dimension erstellen? Bzw. weißt du wie das geht? Würde mich brennend interresieren. Und bevor jetzt solche Kommentare kommen wie: "Weißt du überhaput wie viel arbeit das ist?". Ich habe nur gefragt, und ja, das ist sehr viel arbeit.