Mrgreen33gamer's [1.6.1\1.6.2\1.6.4\]Forge/ModLoader Modding Tutorials
Poll: Is helpful
Ended Feb 16, 2015
Poll: Do you want to make Bukkit Plugins
Ended Feb 16, 2015
Poll: Forge Dimension?
Ended Feb 16, 2015
Ended Feb 16, 2015
Ended Feb 16, 2015
Ended Feb 16, 2015
Forge or ModLoader?
Ill see bout the codes. Ok. I'm busy working on my server.
Hahaha, sure I do a video on it, thanks for letting me know, oh is it Forge or ModLoader?
Ok, first are you using Forge Or ModLoader?
Sorry to tell you this, but with Forge and ModLoader advancing too much, there codes have changed during times, so i don't really know the codes for Forge or ModLoader, they used to be a lot simpler then on how advanced the codes are today. sorry.
Sorry for my bad english, I'm Brazilian Modder...
I'm using Forge! Thanks for doing this, I've been trying forever!
Love the grenades creator, the only thing is where do I put the image that you see when you throw the grenade? For example when you throw an egg you see an egg flying through the air. Where does the image go that does that. (Using ModLoader)
Thanks in advance.
Yes
Are you seeing the image? And the grenades are invisible, but Forge can render the images. Only Forge can do what your saying.
I'm sorry but if your using ModLoader I can't help you, if your using Forge then you will a square white block.
Question: are you making a Gun or Grenade?
Question 2: are you using ModLoader or Forge?
Ok first what type of thing are you talking about, is it a FML code your saying or is it a Texture of some type, please give me more info?
And you can't add something to FML, FML extends mods to add them into minecraft, that is what FML does.
here is my code..
ill highlight the error in red..
package LA.C;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityEgg;
import net.minecraft.entity.projectile.EntityFireball;
import net.minecraft.entity.projectile.EntitySmallFireball;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public class AluxFireStaff extends Item
{
public AluxFireStaff(int par1)
{
super(par1);
this.setMaxDamage(100);
this.maxStackSize = 1;
this.setCreativeTab(AluxMod.Alux);
}
/**
* Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
*/
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
{
if (!par3EntityPlayer.capabilities.isCreativeMode)
{
--par1ItemStack.stackSize;
}
par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));
if (!par2World.isRemote)
{
par2World.spawnEntityInWorld(new EntitySmallFireball(par2World, par3EntityPlayer));
}
return par1ItemStack;
}
}
Go to the fireball item or entity class and look at some of the codes that let's it Right click.
and this might be the problem: par2World.spawnEntityInWorld(new EntitySmallFireball(par2World, par3EntityPlayer));
par2World and par3EntityPlayer my not match the FireBalls state. Some codes like FireWorks have to have Velocity in there codes.
i just cant get it to work.. could you add me on skype maybe? and help me through it.. +1 and sub and a like on all your yt vids.. if you do.. and ill show all my friends your mod..
Skype..
David.d1998