Hey, in your Throwable Entity spoiler, there is EntityTest.java. That EntityTest.java is also existing in the src, which gives me an error. I'm not pretty sure what is the problem but, I'll give you codes later.
OK so Here is my question.... Can You only make and item for a whole mod with this tutorial? Also where do i save the .class files? and IF i want to have multiple items do i export them the same way?
Ok, so... I have a question...
How do I make my Ore minable by only a diamond pick?
mod_EridianOreGeneration
package net.minecraft.src;
import java.util.Random;
public class mod_EridianOreGeneration extends BaseMod
{
public static final Block EridianOre = new Block(200, 0, Material.iron).setBlockName("Eridian Ore").setHardness(15F).setResistance(15F).setCreativeTab(CreativeTabs.tabBlock).setStepSound(Block.soundStoneFootstep);
public void load()
{
EridianOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/textures/Eridian Ore.png");
ModLoader.registerBlock(EridianOre);
ModLoader.addName(EridianOre, "Eridian Ore");
}
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
{
for(int i = 5; i < 7; i++)
{
int randPosX = chunkX + random.nextInt(16);
int randPosY = random.nextInt(128);
int randPosZ = chunkZ + random.nextInt(16);
(new WorldGenMinable(EridianOre.blockID, 4)).generate(world, random, randPosX, randPosY, randPosZ);
}
}
public String getVersion()
{
return "1.4";
}
}
Block Eridian Ore
package net.minecraft.src;
import java.util.Random;
public class BlockEridianOre extends Block
{
public BlockEridianOre(int i, int j)
{
super(i, j, Material.iron);
}
public int idDropped(int i, Random random, int j)
{
return mod_EridianDust.EridianDustItem.shiftedIndex;
}
public int quantityDropped(Random random)
{
return 2;
}
}
Hey Popgalop or anyone. Do you know how to make a mod that contains... RECIPES ONLY
For example, I want to add more recipes for Diamonds (let's just say that, put anoher recipe/s for an exisitng item in Minecraft). If you then, please add that.
I have a question. Will this work with forge? My reason for this is that I don't want to edit base classes. Also is there a way I can add a new tool or armor material with out editing the EnumToolMaterial or EnumArmorMaterial classes? Anyone's help would be appreciated.
Hey Popgalop or anyone. Do you know how to make a mod that contains... RECIPES ONLY
For example, I want to add more recipes for Diamonds (let's just say that, put anoher recipe/s for an exisitng item in Minecraft). If you then, please add that.
I'm not 100% sure about this, but I think you could accomplish that by editing the RecipesCrafting.java file.
Rollback Post to RevisionRollBack
Thou shall receive great enjoyment, in the viewing of the wixey99 youtube channel.
this.particleRed = 0;
this.particleGreen = 10;
this.particleBlue = 0;
Please reply,
Thanks
Planet Minecraft: GLStudios
Ok so there was no problem at first and then this error randomly struck me. I don't know how to fix it, im a beginning scripter. My armor classes where having no issues then randomly when I put in the next one it started acting up. Ive looked everywhere for a mistake but cant find anything! Here is the link to the error:
https://www.dropbox.com/s/qtmtkxrq57duy9g/armor%20error.txt
Here is all my armor mods:
Yellow
https://www.dropbox.com/s/3vpa4u0ya5c53v0/mod_YellowArmor.java
White
https://www.dropbox.com/s/h0lm3glmb7kkjdq/mod_WhiteArmor.java
Blue
https://www.dropbox.com/s/ih7wblnt8ksm8x9/mod_BlueArmor.java
Red
https://www.dropbox.com/s/bt7bhg62dy1yjy9/mod_RedArmor.java
Green
https://www.dropbox.com/s/tw7v1crnzhlt9ot/mod_GreenArmor.java
Pink
https://www.dropbox.com/s/kn0f56t9065wutu/mod_PinkArmor.java
I really hope you guys can take some time to look into this. Your really great scripters and give the best tutorials ive ever seen, thank you so much! I really hope you can help guys Thanks! Also im doing this with modloader and the error has something to do with forge. So if you can look for that it might be a clue! Thanks guys!
How do I make my Ore minable by only a diamond pick?
mod_EridianOreGeneration
Block Eridian Ore
Thanks again in advance.
One thing I noticed about your command tutorial was you didn't know what that function was used for.
That function marks the commands permission level. 0= any player can use it 1= administration can use it. Not sure if you found that out or not
Farewell everyone o/
For example, I want to add more recipes for Diamonds (let's just say that, put anoher recipe/s for an exisitng item in Minecraft). If you then, please add that.
I'm not 100% sure about this, but I think you could accomplish that by editing the RecipesCrafting.java file.