The idea of magnetium is a toolset that you use for clearing out areas and stuff, it has 10, 000 uses and you won't need to replace it for a while.
I am working an new tools (not new materials for tools, new tools, e.g hoe, pickaxe)
I am also working on a lot of new abilities for the new tools, although sadly some will change the minecraft source code...
Hi, this is my first mod, it works perfectly. It was created by me, but another user, an IRL friend will soon join the project, he has a better coding knowledge than me.
So let's begin, First, I have to say that you can download this mod as the two parts (More Ores and More Blocks) or as one part.
Also note that this mod is still a WiP, post suggestions, I have some ideas, most involve making obsidian easier to get, that will come later when I work out why it's giving me errors :S.
So let's begin!
Note:
The More ores mod contains:
Zilium
Magnetium
The More Blocks mod contains:
The Hurnium Blocks
Cob
The Obsidian Additions
Hmm, trying to make a new glass block.
I copied the glass code completetly and changed the names, that's all I did.
then I just copied the normal block code, the error only referred to this line:
public static final Block PlexiGlass = (new BlockPlexiGlass(149, 0)).setHardness(5F).setResistance(5F).setBlockName("PlexiGlass");
the error says:
src\minecraft\net\minecraft\src\mod_Moreblocks.java:91: cannot find symbol
symbol : constructor BlockPlexiGlass(int, int)
location: classnet.minecraft.src.BlockPlexiGlass
public static final Block PlexiGlass = (new BlockPlexiGlass(149, 0)).setHardness(5F).setResistance(5F).setBlockName("PlexiGlass");
1 error
============
Ok, My mods are getting along quite nicely, I just need help with tiered harvesting (diamond pick only and adding another tier above diamond) and i want to know how do you make it so that a certain tool gives a different item when it is used?
i.e say i wanted to use my pick on a diamond ore block, and this pick in particular gives a diamond ore block instead of a diamond gem when you use it to harvest a block.
I want to know how to do this with both vanilla blocks and modded blocks.
Ok, My mods are getting along quite nicely, I just need help with tiered harvesting (diamond pick only and adding another tier above diamond) and i want to know how do you make it so that a certain tool gives a different item when it is used?
i.e say i wanted to use my pick on a diamond ore block, and this pick in particular gives a diamond ore block instead of a diamond gem when you use it to harvest a block.
I want to know how to do this with both vanilla blocks and modded blocks.
I'm not sure with that. I don't know how to put it in forms of Java, but somewhere in the BlockWhatever file, you'd need a conditional statement. Something like, if the block is destroyed by the item diamond pickaxe, then return the diamond ore block, or else it returns a diamond gem as usual.
Ok, My mods are getting along quite nicely, I just need help with tiered harvesting (diamond pick only and adding another tier above diamond) and i want to know how do you make it so that a certain tool gives a different item when it is used?
i.e say i wanted to use my pick on a diamond ore block, and this pick in particular gives a diamond ore block instead of a diamond gem when you use it to harvest a block.
I want to know how to do this with both vanilla blocks and modded blocks.
can someone tell me how to set boolean to true????
or please update my code?
Look at this BlockGlass.java file...
Can you see it?
package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
import java.util.Random;
public class BlockGlass extends BlockBreakable
{
public BlockGlass(int i, int j, Material material, boolean flag)
{
super(i, j, material, flag);
}
public int quantityDropped(Random random)
{
return 0;
}
}
0
0
I am working an new tools (not new materials for tools, new tools, e.g hoe, pickaxe)
I am also working on a lot of new abilities for the new tools, although sadly some will change the minecraft source code...
0
0
0
So let's begin, First, I have to say that you can download this mod as the two parts (More Ores and More Blocks) or as one part.
Also note that this mod is still a WiP, post suggestions, I have some ideas, most involve making obsidian easier to get, that will come later when I work out why it's giving me errors :S.
So let's begin!
Note:
The More ores mod contains:
Zilium
Magnetium
The More Blocks mod contains:
The Hurnium Blocks
Cob
The Obsidian Additions
So Let's begin with some info!
Download:
More Everything
More Ores
More Blocks
WAIT!
This mod requires Modloader! Get it here!
0
I copied the glass code completetly and changed the names, that's all I did.
then I just copied the normal block code, the error only referred to this line:
the error says:
0
0
i.e say i wanted to use my pick on a diamond ore block, and this pick in particular gives a diamond ore block instead of a diamond gem when you use it to harvest a block.
I want to know how to do this with both vanilla blocks and modded blocks.
0
I haven't tried them yet
0
i.e say i wanted to use my pick on a diamond ore block, and this pick in particular gives a diamond ore block instead of a diamond gem when you use it to harvest a block.
I want to know how to do this with both vanilla blocks and modded blocks.
0
0
0
viewtopic.php?f=1036&t=212150&start=1110#setsound
try that ^
0
Lay off the swearing. :tongue.gif:
Now can someone look at my post about tools?
0
Look at this BlockGlass.java file...
Can you see it?
It's there, have a look, hopefully that helps.