Not a member yet? Register for your free account!


Go Back   elitepvpers > Other Online Games > Minecraft > Minecraft Guides & Strategies
You last visited: Today at 16:46

  • Did you know? elitepvpers has its own image host, epvpimg.com.

 

Minecraft Mods erstellen [ModLoader]

This is a discussion on Minecraft Mods erstellen [ModLoader] within the Minecraft Guides & Strategies forum part of the Minecraft category; Entweder muss ide .png direkt in die Minecraft.jar, oder wenn du da z.b. Code: /block/rainbow_erz.png steht muss du in der ...

View Poll Results: Ist diese Thema Hilfreich ?
Ja 227 89.37%
Nein 27 10.63%
Voters: 254. You may not vote on this poll

Reply
 
Thread Tools
Old 07-08-2012, 21:58   #431
Senior Member
 
-i[Gyxx]*'s Avatar
 
Join Date: Jun 2011
Posts: 348
Received Thanks: 53

Entweder muss ide .png direkt in die Minecraft.jar, oder wenn du da z.b.
Code:
/block/rainbow_erz.png
steht muss du in der Minecraft.jar ein Ordner erstellen de block heißt.
__________________

-i[Gyxx]* is online now  
Thanks
1 User
cakeflavor (07-08-2012)
Old 07-08-2012, 22:10   #432
Banned
 
Join Date: Oct 2009
Posts: 1,818
Received Thanks: 368
Nächstes Problem. Habe nun versucht aus meinem Ordner mcp/jars alles rauszukopieren in mienen normalen Minecraft ordner (in Roaming). Jetzt erhalte ich beim Starten allerdings folgenden Fehler:

Spoiler:

Last edited by cakeflavor; 07-08-2012 at 22:27.
cakeflavor is offline  
Old 07-08-2012, 23:07   #433
hm... nix :P
 
Join Date: Jan 2012
Posts: 17
Received Thanks: 8
Hilfe, ich finde Path nicht :/
xXfreakyXx is offline  
Old 07-09-2012, 09:33   #434
Junior Member
 
Join Date: Apr 2012
Posts: 22
Received Thanks: 1
Wann kommt nun endlich das neue? Du hast geschrieben "morgen", doch das war vor einer Woche.
morice1999 is offline  
Old 07-09-2012, 14:41   #435
Minecraft Modder
 
Join Date: Jan 2012
Posts: 40
Received Thanks: 1
Quote:
Originally Posted by k0thaufen! View Post
Nächstes Problem. Habe nun versucht aus meinem Ordner mcp/jars alles rauszukopieren in mienen normalen Minecraft ordner (in Roaming). Jetzt erhalte ich beim Starten allerdings folgenden Fehler:

Spoiler:
Du darfst auch nicht alles aus den jars rausnehmen ^^ du musst erst auf recompile dann auf reobfuscation und dann sind die sachen die du modifiziert hast im reobf ordner. Die musst du in deine minecraft.jar ziehen
Domekilla12 is offline  
Old 07-09-2012, 18:42   #436
Minecraft Modder
 
the_cake's Avatar
 
Join Date: Feb 2011
Posts: 406
Received Thanks: 327
Quote:
Originally Posted by morice1999 View Post
Wann kommt nun endlich das neue? Du hast geschrieben "morgen", doch das war vor einer Woche.
War alles auf meinen MacBook hab aber heute die nachricht bekommen das mein MainBoard kapput ist ich werde es schon noch einfügen keine angst.
the_cake is offline  
Old 07-09-2012, 20:16   #437
Junior Member
 
Join Date: Apr 2012
Posts: 22
Received Thanks: 1
achso okay, naja bin halt recht ungeduldig ^^
morice1999 is offline  
Old 07-09-2012, 21:13   #438
Minecraft Modder
 
Join Date: Apr 2012
Posts: 22
Received Thanks: 0
Hallo mal wieder!
Und wie immer hab ich eine Frage die lautet
Iche habe einen Tempel gebaut den dann mit mcedit kopiert und gespeichert danach mit diesem ...tojava
umgewandelt nun das Problem ich finde den Tempel nicht such nun schon 1.30 h und hab ihn nicht entdeckt.
Hier die .java datein:
mod_modname:
/*
this is a default mod_ file with structure generation



If you're going to copy the generateSurface method from this file, make sure to not forget the 'import java.util.Random;' (line 15)




Thanks for using my tool.
*/

package net.minecraft.src;
import java.util.Random;

public class mod_modname extends BaseMod{

public void load()
{

}

public void generateSurface(World world, Random rand, int y, int z)
{
for(int k = 0; k < 100; k++)
{
int RandPosX = y + rand.nextInt(16);
int RandPosY = rand.nextInt(128);
int RandPosZ = z + rand.nextInt(16);
(new WorldGenStructure()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
public String getVersion()
{
return "1.2.5";
}
}


Hier WorldGenStructure:

/*
===== MADE BY HAXMAN2'S .SCHEMATIC TO JAVA CONVERTING TOOLv0.2 ====
There is a tutorial on the forum thread on how to use this tool.
NOTE: The Block limit is 19,500 at the moment, meaning if your file is bigger then 20,000 lines, it MIGHT crash...
*/
package net.minecraft.src;
import java.util.Random;
public class WorldGenStructure extends WorldGenerator
{
public WorldGenStructure()
{
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
int bID = 2; /*2 is the block id for grass, so the structure going to spawn on grass*/
if(world.getBlockId(i, j, k) != bID || world.getBlockId(i, j + 1, k) != 0 || world.getBlockId(i + 7, j, k) != bID || world.getBlockId(i + 7, j, k + 7) != bID || world.getBlockId(i, j, k + 7) != bID || world.getBlockId(i + 7, j + 1, k) != 0 || world.getBlockId(i + 7, j + 1, k + 7) != 0 || world.getBlockId(i, j + 1, k + 7) != 0)
{
return false;
}

return true;
}
} /*=====End of Code=====*/

Könnt ihr mir da irgendwie helfen?

mfg
jonmi
JONMI2000 is offline  
Old 07-09-2012, 22:31   #439
Minecraft Modder
 
the_cake's Avatar
 
Join Date: Feb 2011
Posts: 406
Received Thanks: 327
Quote:
Originally Posted by JONMI2000 View Post
Hallo mal wieder!
Und wie immer hab ich eine Frage die lautet
Iche habe einen Tempel gebaut den dann mit mcedit kopiert und gespeichert danach mit diesem ...tojava
umgewandelt nun das Problem ich finde den Tempel nicht such nun schon 1.30 h und hab ihn nicht entdeckt.
Hier die .java datein:
mod_modname:
/*
this is a default mod_ file with structure generation



If you're going to copy the generateSurface method from this file, make sure to not forget the 'import java.util.Random;' (line 15)




Thanks for using my tool.
*/

package net.minecraft.src;
import java.util.Random;

public class mod_modname extends BaseMod{

public void load()
{

}

public void generateSurface(World world, Random rand, int y, int z)
{
for(int k = 0; k < 100; k++)
{
int RandPosX = y + rand.nextInt(16);
int RandPosY = rand.nextInt(128);
int RandPosZ = z + rand.nextInt(16);
(new WorldGenStructure()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
public String getVersion()
{
return "1.2.5";
}
}


Hier WorldGenStructure:

/*
===== MADE BY HAXMAN2'S .SCHEMATIC TO JAVA CONVERTING TOOLv0.2 ====
There is a tutorial on the forum thread on how to use this tool.
NOTE: The Block limit is 19,500 at the moment, meaning if your file is bigger then 20,000 lines, it MIGHT crash...
*/
package net.minecraft.src;
import java.util.Random;
public class WorldGenStructure extends WorldGenerator
{
public WorldGenStructure()
{
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
int bID = 2; /*2 is the block id for grass, so the structure going to spawn on grass*/
if(world.getBlockId(i, j, k) != bID || world.getBlockId(i, j + 1, k) != 0 || world.getBlockId(i + 7, j, k) != bID || world.getBlockId(i + 7, j, k + 7) != bID || world.getBlockId(i, j, k + 7) != bID || world.getBlockId(i + 7, j + 1, k) != 0 || world.getBlockId(i + 7, j + 1, k + 7) != 0 || world.getBlockId(i, j + 1, k + 7) != 0)
{
return false;
}

return true;
}
} /*=====End of Code=====*/

Könnt ihr mir da irgendwie helfen?

mfg
jonmi
Ist aber ein kleiner WorldGenStructure Code schau dir mal meinen an der zu meinen KLEINEN haus gehört:

Spoiler:


Das ist nicht alles oder ??

Spoiler:
the_cake is offline  
Old 07-10-2012, 13:20   #440
Minecraft Modder
 
Join Date: Apr 2012
Posts: 22
Received Thanks: 0
Doch das ist alles was da drin ist.
Weiß auch nicht

mal gucken
bb
jonmi

ah ich habs hab was falsch gemacht trotzdem danke!
bb
jonmi
JONMI2000 is offline  
Reply

Tags
java, minecraft, mod, modloader, tutorial

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minecraft Mods selber erstellen wachhund09 Minecraft 6 10-26-2011 21:17




All times are GMT +2. The time now is 16:46.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.