yep there's some changes for the mobs, everything was find in 1.1, but now my bears render as bipeds(human body) but with my bear's texture lol, does somebody know how to fix this?
yep there's some changes for the mobs, everything was find in 1.1, but now my bears render as bipeds(human body) but with my bear's texture lol, does somebody know how to fix this?
thanks!
Yeh, I've noticed that too. Not so much with the textures yet though because I haven't gotten around to fixing all the new errors.
I tried to make a mob which should be hostile but cant walk and has no attack, but if I try to recompile I get this error:
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'"C:\Program Files\Java\jdk1.7.0_02\bin\javac.exe" -g -source 1.6 -target 1.6 -c
lasspath "lib;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.ja
r;jars\bin\lwjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecr
aft\net\minecraft\client\*.java src\minecraft\net\minecraft\isom\*.java src\mine
craft\net\minecraft\src\*.java conf\patches\ga.java conf\patches\Start.java' fai
led : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\mod_banners.java:43: error: class, interface, or
enum expected
} public String getVersion()
^
src\minecraft\net\minecraft\src\mod_banners.java:46: error: class, interface, or
enum expected
}
^
here is the mod_banners.java:
package net.minecraft.src;
import java.util.Map;
public class mod_banners extends BaseMod
{
public static final Block DE = new Block(160, 0).setBlockName("DE").setHardness(3F).setResistance(4F).setLightValue(1F);
public void load()
{
DE.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/banners/DE.png");
ModLoader.RegisterBlock(DE);
ModLoader.AddName(DE, "Deutschland-Flagge");
ModLoader.AddRecipe(new ItemStack(DE, 1), new Object[] {
"###", "XXX", "+++", Character.valueOf('#'), new ItemStack(Item.dyePowder, 1, 0), Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 1), Character.valueOf('+'), new ItemStack(Item.dyePowder, 1, 11)
});
}
public static final Block DE1 = new Block(161, 0).setBlockName("DE1").setHardness(3F).setResistance(4F).setLightValue(1F);
{
DE1.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/banners/DE1.png");
ModLoader.RegisterBlock(DE1);
ModLoader.AddName(DE1, "Alte Deutschland-Flagge");
ModLoader.AddSmelting(DE.blockID, new ItemStack(DE1, 1));
}
public static final Block BE = new Block(162, 0).setBlockName("BE").setHardness(3F).setResistance(4F).setLightValue(1F);
{
BE.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/banners/BE.png");
ModLoader.RegisterBlock(BE);
ModLoader.AddName(BE, "Belgien-Flagge");
ModLoader.AddRecipe(new ItemStack(BE, 1), new Object[] {
"#+X", "#+X", "#+X", Character.valueOf('#'), new ItemStack(Item.dyePowder, 1, 0), Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 1), Character.valueOf('+'), new ItemStack(Item.dyePowder, 1, 11)
});
}
{
ModLoader.RegisterEntityID(EntityFlaggeDE.class, "FlaggeDE", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(EntityFlaggeDE.class, 12, 14, 18, EnumCreatureType.creature);
}
public void AddRenderer(Map map)
{
map.put(EntityFlaggeDE.class, new RenderFlagge(new ModelFlagge(), 0.5F));
}
}
public String getVersion()
{
return "1.1";
}
}
Does anybody know what I did wrong?
Make sure all of your brackets are closed correctly.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
just wondering do you no how make the creature put a sertan block under it when it walks aroung e.g. spider man when he walks he has a trail of cob web behind him amd have you figered out how to make you mobs tamable if you could help thet would be awsome
Hey, for some weird reason. MCP doesnt make Eclipse file classes! :S
I got the minecraft.jar (Modded with Modloader) and I recompiled the minecraft.jar and all, copied the Bin, Pasted it in "Jars"
when on CMD/Terminal
./decompile.sh (Mac thing)
and it didnt work! :S (The eclipse classes didnt show)
Please help
Hey, for some weird reason. MCP doesnt make Eclipse file classes! :S
I got the minecraft.jar (Modded with Modloader) and I recompiled the minecraft.jar and all, copied the Bin, Pasted it in "Jars"
when on CMD/Terminal
./decompile.sh (Mac thing)
and it didnt work! :S (The eclipse classes didnt show)
Please help
Did the decompiler actually run or not? Are you trying to decompile 1.2.3?
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Do you know if Risugami made the configuration file option part of normal modlaoder?
Do you mean ML Prop?
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Not sure what that is, but I am talking about a file that you could make that would let people change the IDs of my items/blocks, I think that I could get it for 1.1 but I would have had to download something else for that.
Also: To update my mod all I have to do is go though my mod_ file and change the Add**** to add****, right?
[09:00:22] Exception in thread "Minecraft main thread" java.lang.ExceptionInInit
ializerError
[09:00:22] at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
[09:00:22] at net.minecraft.client.Minecraft.run(Minecraft.java:784)
[09:00:22] at java.lang.Thread.run(Thread.java:662)
[09:00:22] Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBound
sException: 305
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:888)
[09:00:22] at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:15
4)
[09:00:22] at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
[09:00:22] at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:1
2)
[09:00:22] ... 3 more
[09:00:22] Caused by: java.lang.ArrayIndexOutOfBoundsException: 305
[09:00:22] at net.minecraft.src.ModLoader.initStats(ModLoader.java:902)
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:875)
[09:00:22] ... 6 more
Did the decompiler actually run or not? Are you trying to decompile 1.2.3?
Yes, the decompiler worked. the files in SRC are actually there. In .java form any way..
Ecplise file's don't show up for some reason :S
and yes I'm trying to decompile 1.2.3 on MCP 6.0
for some reason when i opened up this thread i was on a different page and i was answering some ones question but when i hit post i ended up at the end and i couldn't delete the post sorry(then found out the question was answered on the next page)
[09:00:22] Exception in thread "Minecraft main thread" java.lang.ExceptionInInit
ializerError
[09:00:22] at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
[09:00:22] at net.minecraft.client.Minecraft.run(Minecraft.java:784)
[09:00:22] at java.lang.Thread.run(Thread.java:662)
[09:00:22] Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBound
sException: 305
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:888)
[09:00:22] at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:15
4)
[09:00:22] at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
[09:00:22] at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:1
2)
[09:00:22] ... 3 more
[09:00:22] Caused by: java.lang.ArrayIndexOutOfBoundsException: 305
[09:00:22] at net.minecraft.src.ModLoader.initStats(ModLoader.java:902)
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:875)
[09:00:22] ... 6 more
There is a problem with 1.2 so you can still only use block ids below 255.
Yes, the decompiler worked. the files in SRC are actually there. In .java form any way..
Ecplise file's don't show up for some reason :S
and yes I'm trying to decompile 1.2.3 on MCP 6.0
Hello, its me again! Anyway which mod tutorials are updated for 1.2? Cause I just updated to MCP for 1.2.3
All of them are updated unless there are more changes that I am unaware of. I'm not sure if the custom mob tutorial is working properly, it should be though.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
No, What I ment was.. In side Eclipse/client the rest doesnt show :S
Try using the recompile.bat in the mcp folder. It should create the start.class and other classes in the eclipse folder as well. If that doesn't work then download mcp again.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
To post a comment, please login or register a new account.
thanks!
Yeh, I've noticed that too. Not so much with the textures yet though because I haven't gotten around to fixing all the new errors.
Make sure all of your brackets are closed correctly.
together they are powerful beyond imagination."
just solved it, in you mod class change AddRenderer to addRenderer
I might, not sure yet.
That would be it
What on earth are you talking about.
together they are powerful beyond imagination."
I got the minecraft.jar (Modded with Modloader) and I recompiled the minecraft.jar and all, copied the Bin, Pasted it in "Jars"
when on CMD/Terminal
./decompile.sh (Mac thing)
and it didnt work! :S (The eclipse classes didnt show)
Please help
Did the decompiler actually run or not? Are you trying to decompile 1.2.3?
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDo you mean ML Prop?
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumNot sure what that is, but I am talking about a file that you could make that would let people change the IDs of my items/blocks, I think that I could get it for 1.1 but I would have had to download something else for that.
Also: To update my mod all I have to do is go though my mod_ file and change the Add**** to add****, right?
== MCP 6.0 (data: 6.0, client: 1.2.3, server: 1.2.3) ==
[09:00:22] Exception in thread "Minecraft main thread" java.lang.ExceptionInInit
ializerError
[09:00:22] at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
[09:00:22] at net.minecraft.client.Minecraft.run(Minecraft.java:784)
[09:00:22] at java.lang.Thread.run(Thread.java:662)
[09:00:22] Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBound
sException: 305
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:888)
[09:00:22] at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:15
4)
[09:00:22] at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
[09:00:22] at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:1
2)
[09:00:22] ... 3 more
[09:00:22] Caused by: java.lang.ArrayIndexOutOfBoundsException: 305
[09:00:22] at net.minecraft.src.ModLoader.initStats(ModLoader.java:902)
[09:00:22] at net.minecraft.src.ModLoader.init(ModLoader.java:875)
[09:00:22] ... 6 more
Yes, the decompiler worked. the files in SRC are actually there. In .java form any way..
Ecplise file's don't show up for some reason :S
and yes I'm trying to decompile 1.2.3 on MCP 6.0
for some reason when i opened up this thread i was on a different page and i was answering some ones question but when i hit post i ended up at the end and i couldn't delete the post sorry(then found out the question was answered on the next page)
There is a problem with 1.2 so you can still only use block ids below 255.
So the eclipse folder isn't showing up in MCP?
All of them are updated unless there are more changes that I am unaware of. I'm not sure if the custom mob tutorial is working properly, it should be though.
together they are powerful beyond imagination."
together they are powerful beyond imagination."
No, What I ment was.. In side Eclipse/client the rest doesnt show :S
Try using the recompile.bat in the mcp folder. It should create the start.class and other classes in the eclipse folder as well. If that doesn't work then download mcp again.
together they are powerful beyond imagination."