I wanted to create a mod that use wools which is different colors, but I do not know what should be the Block.whatever or Item.whatever.
And for those who don't understand:
ModLoader.AddRecipe(new ItemStack(ARGH,1), new Object[]{
"*", "X", Character.valueOf('*'), Block. ???
the
Block. ???
is the wool. What should the '???' be called? And what must you use to use wool with different colors?
Help will really be appreciated for anyone who answers the question
I did put it in the minecraft.jar file, in fact, i used the startclient.bat previously. Now, i reobf and drag them into my minecraft.jar folder and checked that everything was there.
Result:
As you can see, the monster is obviously not spawning(might take a while to load) :sad.gif:
Still no texture :sad.gif:
If someone knows how to solve this, will be rewarded with 10 truckloads of
Edit: Created a new world, and world is filled with that mobs=lag city
But i still cannot fix the other problem someone please help!
I did put it in the minecraft.jar file, in fact, i used the startclient.bat previously. Now, i reobf and drag them into my minecraft.jar folder and checked that everything was there.
Result:
As you can see, the monster is obviously not spawning(might take a while to load) :sad.gif:
Still no texture :sad.gif:
If someone knows how to solve this, will be rewarded with 10 truckloads of
Changed but still not working :sad.gif:
My ItemMeat.java:
package net.minecraft.src;
public class ItemMeat extends Item
{
private int healAmount;
public ItemMeat (int i)
{
super (i);
maxStackSize = 1;
healAmount=8;
}
public int gethealAmount()
{
return healAmount;
}
public ItemStack onItemRightClick(ItemStack itemstack, World world,EntityPlayer entityplayer)
{
itemstack.stackSize--;
entityplayer.heal(healAmount);
return itemstack;
}
}
0
And for those who don't understand:
the is the wool. What should the '???' be called? And what must you use to use wool with different colors?
Help will really be appreciated
0
0
Edit: Created a new world, and world is filled with that mobs=lag city
But i still cannot fix the other problem someone please help!
0
error(again):
0
0
Result:
As you can see, the monster is obviously not spawning(might take a while to load) :sad.gif:
Still no texture :sad.gif:
If someone knows how to solve this, will be rewarded with 10 truckloads of
0
2.texture is named test but saved as png
3.yes
Please help
0
My EntityTest:
And the one for the model:
There is a picture in \mob\test. Please help! Reward will be a
Thanks!
0
Changed but still not working :sad.gif:
My ItemMeat.java:
Please help, reward will be
0
my mod_food.java:
0
0
0
Ignore the first question on the bacon i figured that out already.
But still do you know how to increase the weapon's range like instead of being able to hit monsters from 3 blocks can you make it 5?
0
Example:
and also is there any way to change the range of a weapon?
0
Oh man that actually works
Thanks!
Here is your reward: