Nein. Wenn ich es 16x16 groß mache verrutscht mir das Item (es ist im spiel nicht in der leiste zentriert sondern verrutscht).
EDIT : Habe auch keine eigenen texturen gemacht sondern die original texturen genommen und die farben getauscht usw.
Kann es sein das du ein HD texturepack installiert hast also nicht das normale 16px sondern ein 32px, 64px, 128px ect. und auch minecraft dementsprechend gemoddet hast? weil dann kann es passieren das das richtig definierte bild von minecraft nicht richtig verarbeitet wird denn bei mir klappt das und ich habe ein ,bis auf den modloader, "unberührtes" minecraft!
Kann es sein das du ein HD texturepack installiert hast also nicht das normale 16px sondern ein 32px, 64px, 128px ect. und auch minecraft dementsprechend gemoddet hast? weil dann kann es passieren das das richtig definierte bild von minecraft nicht richtig verarbeitet wird denn bei mir klappt das und ich habe ein ,bis auf den modloader, "unberührtes" minecraft!
Nein habe ich nicht.
Ich habe mal eine einzelne textur hochgeladen wäre nett wenn du mal ausprobierst ob sie bei dir geht.
Ich habe mal eine einzelne textur hochgeladen wäre nett wenn du mal ausprobierst ob sie bei dir geht.
[IMG]
[/IMG]
, habe mir das mal angeschaut und ein bissel was gemacht.das das bild etwas verrutscht lieg nur daran das das item eine ungerade anzahl von horizontalen pixeln hat deswegen kannst du das garnicht zentrierten und das es so riesig und verzert war lag an der größe wie ich sagte weil miecraft versucht hat die 11x14px an die 16x16 anzu passen kann man in den bildern sehen
, habe mir das mal angeschaut und ein bissel was gemacht.das das bild etwas verrutscht lieg nur daran das das item eine ungerade anzahl von horizontalen pixeln hat deswegen kannst du das garnicht zentrierten und das es so riesig und verzert war lag an der größe wie ich sagte weil miecraft versucht hat die 11x14px an die 16x16 anzu passen kann man in den bildern sehen
Ok Danke
Habe mal eine Frage und zwar habe ich 7 blöcke erstellt und habe diese in EINER datei gespeichert (mit name textur eigenschaften usw.)
Nun wollte ich sie generieren lassen und benutze dafür diesen code :
Code:
//World Generation
public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
{
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(DiggingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(JumpCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(DivingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(InvisibleCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(NightVisionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(BlindnessCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
(new WorldGenMinable(ConfusionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
Ich finde die Blöcke aber nicht und jetzt frage ich mich ist die generations methode richtig oder habe ich da was falsch gemacht / übersehen ?
public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
{
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(DiggingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(JumpCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(DivingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(InvisibleCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(InvisibleCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(NightVisionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(BlindnessCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(ConfusionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
{
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(DiggingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(JumpCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(DivingCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(InvisibleCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(InvisibleCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(NightVisionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(BlindnessCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
for (int i = 0; i < (10); i++)
{
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(world.getHeight());
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(ConfusionCrystalOre.blockID, 16)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}
Ok Danke hat super funktioniert aber ich habe noch ein Problem und zwar habe ich folgenden Craftting Code :
Anscheinend bringt es mich weiter voran aber wenn ich dann das spiel starte kommt ne fehlermeldung
Code:
Mods loaded: 4
ModLoader 1.2.5
mod_CrystalFood 1.2.5
mod_CrystalOres 1.2.5
mod_Crystals 1.2.5
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT c0a97efc --------
Generated 27.07.12 18:16
Minecraft: Minecraft 1.2.5
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_05, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 6700 Series version 4.2.11733 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NullPointerException
at net.minecraft.src.CraftingManager.addRecipe(CraftingManager.java:398)
at net.minecraft.src.ModLoader.addRecipe(ModLoader.java:412)
at net.minecraft.src.mod_CrystalFood.load(mod_CrystalFood.java:38)
at net.minecraft.src.ModLoader.init(ModLoader.java:856)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:157)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:424)
at net.minecraft.client.Minecraft.run(Minecraft.java:786)
at java.lang.Thread.run(Thread.java:722)
--- END ERROR REPORT 5f73308d ----------
Uff.. Vergess, was ich gesagt habe. Ich nehme an, du willst erreichen, dass wenn man einen crystal und ein porkCooked irgendwo ins Crafting Feld reintut (egal wo), dass dann ein DiggingSteak erscheint? If so, probier es doch bitte mal so.. addShapelessRecipe() bewirkt, dass das Rezept "unförmig" wird und keine Struktur haben muss. Dann benötigst du nicht mehr das mit den Zeichen "xx&", "%%%", " # " und so was, sondern definierst einfach die Items.
Code:
addShapelessRecipe(new ItemStack(Item.eyeOfEnder, 1), new Object[]
{
Item.enderPearl, Item.blazePowder
});
würde bedeuten, dass du für eine Enderperle und ein Blaze Powder ein Enderauge erhälst. Dein Code müsste also wie folgt aussehen:
Code:
addShapelessRecipe(new ItemStack(DiggingSteak, 1), new Object[]
{
Item.porkCooked, mod_Crystals.MoltenDiggingCrystal
});
Funktioniert jetzt alles Es lag daran das man mit essen nichts craften kann. Habe das umgangen indem ich ein neues Item erstellt habe mit dem man die Steaks dann Craften kann
Hallo,
ich hätte da mal ne frage. und zwar habe ich ein craftingrezept gemacht bei dem ich z.B. eine einfache Holzschaufel nehme und darüber ein Block cubblestone platziere so das ich eine steinschaufel bekomme. das funktioniert soweit auch! aber wenn ich sie benutze und sie "schaden" hat geht das rezept nicht mehr! kann man das irgendwie umgehen so das der den schaden ignoriert und das rezept wieder geht?
danke im vorraus
Ich kann derzeit keine Antworten geben, noch ein 1.3 Update machen. Mir fehlt hier das MCP, wenn mir das Jemand auf einen anderen Server wie mediafire laden könnte, wäre das sehr freundlich :P
Dein eigener Minecraft-Server! 05/07/2012 - Minecraft - 3 Replies Liebe Community,
wollten Sie schon immer einen eigenen Minecraft-Server haben? Mussten aber immer zu viel bezahlen oder gab es nicht die Möglichkeit mit PaySafeCard zu zahlen? Dann sind sie bei qloc.de (Gameserver, Rootserver mieten - günstige Gameserver, Vserver - TS3 Server) genau richtig!
Denn wir bieten Ihnen eine nagel neue Reihe der Intel Quad Core i7 Servern.
Was bieten wir Ihnen?
- einen Minecraft GameServer mit maximal 100 Slots und maximal 8GB Ram.
- alle GameServer laufen...
uGamed HOSTING | 24/7 Online | *GÜNSTIG* DEIN EIGENER MINECRAFT SERVER 02/14/2012 - Trading - 0 Replies Richtige Sektion? Ich hoffe doch! Wenn nicht, verschieben bitte!
Informationen:
- Control Panel «uGamedHost (Start, STOP, Reload etc)
- Eigene Plugins hochladen!
- FTP Zugriff
- Unendlich viel Speicherplatz für Backups