1

How to make a gun mod?

Upper_Echelon's Avatar Upper_Echelon3/17/13 12:08 pm
3/17/2013 1:50 pm
Upper_Echelon's Avatar Upper_Echelon
Could someone just post a template for the bullet, gun, and mod_**** file. I have looked everywhere and still cannot find a tutorial.
Posted by Upper_Echelon's Avatar
Upper_Echelon
Level 37 : Artisan Geek
43

Create an account or sign in to comment.

13

1
03/17/2013 1:43 pm
Level 59 : Grandmaster Modder
Cube Modding
Cube Modding's Avatar
Guns are pretty hard to make, I recommend starting simple by adding some basic blocks and items. Use the tool MCP to decompile Minecraft, and use Eclipse to make mods. Wuppy29 has some great tutorials, but they are currently outdated. I woud look at his tutorials, and then google how to do textures in 1.5 and then edit the files.

If you get good enough to code a gun, heres some sample code I just wrote for something else;

public ItemStack onItemRightClick(ItemStack par1ItemStack, World world, EntityPlayer par3EntityPlayer, EntityFireball fireball, ItemStack var1)
{
par1ItemStack.damageItem(100, par3EntityPlayer);

if (!world.isRemote)
{
EntityLargeFireball ef = new EntityLargeFireball(this.worldObj, this, d5, d6, d7);
ef.field_92057_e = this.explosionStrength;
double d8 = 4.0D;
Vec3 vec3 = this.getLook(2.0F);
ef.posX = this.posX + vec3.xCoord * d6 / 5F;
ef.posY = this.posY + (double)(this.height / 2.0F) + 0.5D;
ef.posZ = this.posZ + vec3.zCoord * d8;
this.worldObj.spawnEntityInWorld(ef);
this.attackCounter = -numbers.ATTACK_COUNTER_FIRE;
}
return par1ItemStack;

}
1
03/17/2013 1:50 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
Thanks
1
03/17/2013 1:42 pm
Level 58 : Grandmaster Grump
Azie
Azie's Avatar
jacklittle01
Azie
jacklittle01
Could you send me the link of a tut


I did... I will post it again...

http://docs.oracle.com/javase/tutorial/


I mean of a gun mod


Well, if you aren't planning on making something original, then I cannot help. Using a "gun mod" tutorial is going to end up with you generating something that has already been created...
1
03/17/2013 1:40 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
Azie
jacklittle01
Could you send me the link of a tut


I did... I will post it again...

http://docs.oracle.com/javase/tutorial/


I mean of a gun mod
1
03/17/2013 12:58 pm
Level 58 : Grandmaster Grump
Azie
Azie's Avatar
jacklittle01
Could you send me the link of a tut


I did... I will post it again...

http://docs.oracle.com/javase/tutorial/
1
03/17/2013 12:56 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
AzieThere are tons of tutorials either on Youtube or on various websites. If you are completely clueless of what you need to learn, you need to learn Java. I am no programmer, but I am told that Java is rather annoying to learn.

http://docs.oracle.com/javase/tutorial/

If you plan on using any pre-existing code, please be aware that you may not post your resulting mod on this site. All code must be your original ideas

On a side note, please only bump your thread once every 24 hours.

Could you send me the link of a tut
1
03/17/2013 12:54 pm
Level 58 : Grandmaster Grump
Azie
Azie's Avatar
There are tons of tutorials either on Youtube or on various websites. If you are completely clueless of what you need to learn, you need to learn Java. I am no programmer, but I am told that Java is rather annoying to learn.

http://docs.oracle.com/javase/tutorial/

If you plan on using any pre-existing code, please be aware that you may not post your resulting mod on this site. All code must be your original ideas.

On a side note, please only bump your thread once every 24 hours.
1
03/17/2013 12:49 pm
Level 53 : Grandmaster Wolf Whisperer
semmeess
semmeess's Avatar
then make it, or decompile someone elses, this isn't as simple as you'd like it to be..
1
03/17/2013 12:51 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
I don't know how. A tutorial would be nice.
1
03/17/2013 12:44 pm
Level 16 : Journeyman Network
Johnoboy
Johnoboy's Avatar
There are plenty of these around. Just search one
1
03/17/2013 12:47 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
You mean templates. No.
Mods. Yes.
But I want to make my own
1
03/17/2013 12:33 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
halp?
1
03/17/2013 12:17 pm
Level 37 : Artisan Geek
Upper_Echelon
Upper_Echelon's Avatar
I really need this soon
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome