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
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
Wie kann man verschiedene Hölzer machen z.B.
"***", "***", "***", Character.valueOf('X'), Block.Spruceplanks
});
das ich dann NUR durch ein bestimmten Woodplank was bekomme wäre cool wenn ihr schnell antwortet
Wie kann man verschiedene Hölzer machen z.B.
"***", "***", "***", 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)
});
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 )
PHP Code:
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(256);
int randPosZ = chunkZ + rand.nextInt(16);
if(world.getBlockId(randPosX, randPosY, randPosZ) == Block.grass.blockID) {
(new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
}
//Gen Rubinerz
public void generateSurface(World world, Random rand, int chunkX, int chunkZ){
for(int i = 0; i < (13); i++) {
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(256);
int randPosZ = chunkZ + rand.nextInt(16);
if(world.getBlockId(randPosX, randPosY, randPosZ) == Block.grass.blockID) {
(new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
}
//Gen Rubinerz
public void generateSurface(World world, Random rand, int chunkX, int chunkZ){
for(int i = 0; i < (13); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(rubinerz.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
//Gen Saphirerz
public void generateSurface1(World world, Random rand, int chunkX, int chunkZ){
for(int i = 0; i < (9); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(saphirerz.blockID, 8)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
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(randPosX, randPosY, randPosZ) == Block.grass.blockID) { (new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ); } } } //Gen BlueFlower public void generateSurface2(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (13); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(256); int randPosZ = chunkZ + rand.nextInt(16); if(world.getBlockId(randPosX, randPosY, randPosZ) == Block.grass.blockID) { (new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ); } } } //Gen Rubinerz public void generateSurface(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (13); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(world.getHeight()); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(rubinerz.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ); } } //Gen Saphirerz public void generateSurface1(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (9); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(world.getHeight()); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(saphirerz.blockID, 8)).generate(world, rand, randPosX, randPosY, randPosZ); } }
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(randPosX, randPosY, randPosZ) == Block.grass.blockID) { (new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ); } } } //Gen BlueFlower public void generateSurface2(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (13); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(256); int randPosZ = chunkZ + rand.nextInt(16); if(world.getBlockId(randPosX, randPosY, randPosZ) == Block.grass.blockID) { (new WorldGenFlowers(blueflower.blockID)).generate(world, rand, randPosX, randPosY, randPosZ); } } } //Gen Rubinerz public void generateSurface(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (13); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(world.getHeight()); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(rubinerz.blockID, 4)).generate(world, rand, randPosX, randPosY, randPosZ); } } //Gen Saphirerz public void generateSurface1(World world, Random rand, int chunkX, int chunkZ){ for(int i = 0; i < (9); i++) { int randPosX = chunkX + rand.nextInt(16); int randPosY = rand.nextInt(world.getHeight()); int randPosZ = chunkZ + rand.nextInt(16); (new WorldGenMinable(saphirerz.blockID, 8)).generate(world, rand, randPosX, randPosY, randPosZ); } }
Warum willst du items generieren oder hab ich da was falsch verstanden ihn deiner frage
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.
Minecraft Mods selber erstellen 10/26/2011 - Minecraft - 6 Replies Vorab: Ich weiß folgende Frage wurde schon oft gestellt:
Wie mache ich eigene Mods? Hab keine Java Kentnisse.
Bei mir ist der Fall ähnlich ich habe im Internet gesucht und folgendes gefunden:
Minecraft Mod Maker - Minecraft Forum
Jedoch funktioniert der bei mir nicht :(
Meine Frage an euch gibt e einei alternative oder gibt es eine andere Möglichkeit? Es muss nichts großes sein. Ich möchte jedoch nur zb. einen
Block erstellen der kwinw besonderen Funktionen hat wie der Grassblock