Downloaded the 3 support mods, deleted the META-INF, minecraft ran at this point, when i added the infitools jar to the mods folder i blackscreen, and yes java is updated
i am running windows 7.
I need help I got an error that said:
java.lang.UnsupportedClassVersionError: MLProp
at ModLoader.setupProperties(ModLoader.java:1579)
at ModLoader.addMod(ModLoader.java:271)
at ModLoader.readFromClassPath(ModLoader.java:1104)
at ModLoader.init(ModLoader.java:812)
at ModLoader.AddAllRenderers(ModLoader.java:183)
at th.<init>(th.java:60)
at th.<clinit>(th.java:9)
at net.minecraft.client.Minecraft.a(SourceFile:318)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT d2b36bc5 ----------
Try updating your java. Also be sure to have all supporting mods installed.
I'm planning on adding "Ice Picks" in a couple versions that will make getting ice easy. They'll work something like hybrid sword/pickaxes, but won't be as strong as either of their separate counterparts. They'll also have a few other uses to make up for that.
I GOT EVERYONE U HAVE TO OPEN THE infitools.zip and put everything in the zip file into .minecraft/mods i hope it helped everyone that was havin problems :smile.gif:
v0.6.0 is out. I started late in the day and too many people have been complaining about java not being updated; the mod only needs java 6 now. The only tools I made that have powers in this version are the lava ones; they have a 25% chance to auto-smelt blocks and they set things on fire. :biggrin.gif:
I'll see about getting more of the powers up next version. For now, enjoy your java 6 requirements. Do report any bugs on the thread; there's quite a bit going on behind those powers.
Argh, I left in my test recipe in that download. I also found a nasty bug. To the 3 people that downloaded v0.6: if you don't want to feel like a cheater or have the game cheat you then download a fresh one.
v0.6.0 is out. I started late in the day and too many people have been complaining about java not being updated; the mod only needs java 6 now. The only tools I made that have powers in this version are the lava ones; they have a 25% chance to auto-smelt blocks and they set things on fire. :biggrin.gif:
-snip-
How did you manage that without editing any base classes?
Rollback Post to RevisionRollBack
Playing since Beta 1.3_01. Yeah. I like BTW. Or used to. Still do. Stuff Technic. (Back in the day...)
*Plays Minecraft on a craptop* *Optifine user since Optimine* *Using mods since Beta 1.5_01*
How did you manage that without editing any base classes?
Basically, the mod searches for an item entity wherever the block came from, decides what item it is, and then swaps it out if it's on the list. There's quite a bit to it; if you're interested in looking at some code, this is how it works:
public static void toggle()
{
tickToggle = true;
//System.out.println("Toggled the tick method");
}
public boolean OnTickInGame(net.minecraft.client.Minecraft game)
{
if (tickToggle == true)
{
blockSearch();
//System.out.println("Searching for Blocks");
}
return true;
}
public boolean blockSearch()
{
//Initial setup
ItemStack itemstack = null;
EntityItem entityitem = null;
World world = ModLoader.getMinecraftInstance().theWorld;
int replaceItemID = 0;
//int replaceItemMetadata = 0;
//Find the item to swap
List list = world.getEntitiesWithinAABB(EntityItem.class, boundingBox.getBoundingBox((double)lastX, (double)lastY, (double)lastZ, (double)lastX+1, (double)lastY+1, (double)lastZ+1));
System.out.println(list);
if (list.isEmpty())
{
tickToggle = false;
return false;
}
else
{
//itemSwap(list, lastX, lastY, lastZ);
for(int j1 = 0; j1 < list.size(); j1++)
{
EntityItem entity1 = (EntityItem)list.get(j1);
System.out.println(entity1);
replaceItemID = entity1.item.itemID;
//replaceItemMetadata = entity1.item.itemDamage; //ItemStack Metadata is private, apparently.
entity1.age = 6000;
//System.out.println("Entity was eaten!");
}
tickToggle = false;
blockSwap(entityitem, world, replaceItemID);
//blockSwap(entityitem, world, replaceItemID, replaceItemMetadata);
return true;
}
}
public void blockSwap(EntityItem entityitem, World world, int id)
{
tickToggle = false;
//Spawn a new item
int replaceID = compareID(id);
if (replaceID == 17)
{
entityitem = new EntityItem(world, lastX, lastY, lastZ, new ItemStack(replaceID, 1, 0));
}else
{
entityitem = new EntityItem(world, lastX, lastY, lastZ, new ItemStack(replaceID, 1, 0));
}
entityitem.delayBeforeCanPickup = 10;
world.entityJoinedWorld(entityitem);
}
public int compareID(int id)
{
int compare = id;
switch(id)
{
case 4: compare = Block.stone.blockID; break;
case 12: compare = Block.glass.blockID; break;
case 14: compare = Item.ingotGold.shiftedIndex; break;
case 15: compare = Item.ingotIron.shiftedIndex; break;
case 17: compare = Item.coal.shiftedIndex; break;
}
System.out.println("Compare is :" + compare);
return compare;
}
private static boolean tickToggle = false;
public static int lastX = 0;
public static int lastY = 0;
public static int lastZ = 0;
public final AxisAlignedBB boundingBox = AxisAlignedBB.getBoundingBox(0.0D, 0.0D, 0.0D, 0.99D, 0.99D, 0.99D);
EntityPlayer entityplayer = ModLoader.getMinecraftInstance().thePlayer;
World world = ModLoader.getMinecraftInstance().theWorld;
EntityItem entityitem;
public mod_Infitools()
{
ModLoader.SetInGameHook(this, true, true);
}
There's a couple of flaws in my logic at the moment; it's getting some polish as I go along.
Friday I got distracted after I released v0.6, and yesterday was a religious day. I'll be releasing more powers later today to make up for that~
@Zontafer: That's good to know. It'll also be compatible with (aka run on) MinecraftForge mods once they update the forge to work with ScotTools.
Mmm... was rather disinterested in modding today, so I've only added powers to a few toolsets.
Lava: 25% chance of auto-smelt when mining/chopping/gathering
Netherrack: 5% chance to drop an extra netherrack block
Slime: 20% chance to drop slimeballs. Also a chance to drop flowers
I'll have some more interesting tool powers tomorrow. I'm also considering giving diamond tools a kind of power, but I'm not sure if I should or what it would be. I'm also toying around with different powers for swords, as those should probably be different from the tool's powers. Ideas anyone?
Post a crash report from modloader...
"You want it you got it."
Try updating your java. Also be sure to have all supporting mods installed.
"You want it you got it."
I have the mods but I cant update java because it doesnt have 32-bit :sad.gif:
there isnt 32-bit :sad.gif:
I'm planning on adding "Ice Picks" in a couple versions that will make getting ice easy. They'll work something like hybrid sword/pickaxes, but won't be as strong as either of their separate counterparts. They'll also have a few other uses to make up for that.
@Pigbear: Here's a direct link to Java 7 packages. I see both 32-bit(x86) and 64-bit(x64) on the page, so everything you need should be right there. http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html
Diamonds for you!
Click the green plus!
I'll see about getting more of the powers up next version. For now, enjoy your java 6 requirements. Do report any bugs on the thread; there's quite a bit going on behind those powers.
How did you manage that without editing any base classes?
*Plays Minecraft on a craptop* *Optifine user since Optimine* *Using mods since Beta 1.5_01*
Basically, the mod searches for an item entity wherever the block came from, decides what item it is, and then swaps it out if it's on the list. There's quite a bit to it; if you're interested in looking at some code, this is how it works:
Friday I got distracted after I released v0.6, and yesterday was a religious day. I'll be releasing more powers later today to make up for that~
@Zontafer: That's good to know. It'll also be compatible with (aka run on) MinecraftForge mods once they update the forge to work with ScotTools.
Lava: 25% chance of auto-smelt when mining/chopping/gathering
Netherrack: 5% chance to drop an extra netherrack block
Slime: 20% chance to drop slimeballs. Also a chance to drop flowers
I'll have some more interesting tool powers tomorrow. I'm also considering giving diamond tools a kind of power, but I'm not sure if I should or what it would be. I'm also toying around with different powers for swords, as those should probably be different from the tool's powers. Ideas anyone?