Quote:
Originally Posted by kluster
für was hast du ein code, meinst du dass wo ich mit der random funktion sagte?
|
Allso Ich hätte es so versucht
Code:
public int quantityDropped(Random random, World world,int x, int y,int z)
{
if (blockID == Block.oreLapis.blockID)
{
return Item.coal.shiftedIndex + random.nextInt(5);
}
else if (blockID == Block.oreLapis.blockID)
{
return Item.diamond.shiftedIndex + random.nextInt(4);
} else if (blockID == Block.oreLapis.blockID)
{
System.out.println(blockID);
world.setBlockWithNotify(x, y + 1, z, Block.tnt.blockID);
world.setBlockWithNotify(x, y + 2, z, Block.fire.blockID);
}
{
return 1;
}
}
Geht aber leider nicht
Info wenn du den Mod findest einfach mal ihn die minecraft.jar reinmachen und decompilen
Quote:
Originally Posted by selman96
Für Anfänger wie mich nicht hilfreich ohne Bilder ~.~"
Ansonsten nice auch wenn ich nix verstanden habe (...)
|
Was würden dir Bilder nützen ich hab deshalb schon Tutorials auf YouTube zu jeden Thema hochgeladen
Edit.:
Neues Tutorial.
Thema.:
.probertie datei für den MOD zum einstellen der Id`s