Solved: Gun code, used the bow codes and arrow codes!
Hello, I Need some help making my next and i'm trying to add some guns and grenades, i'v been searching the web on google and youtube and i could not find any thing the is in 1.6.2 and is not outdated...
If you could give me source code to test i would be happy
MCP:
Minecraft
Coder
Pack.
i have had experience with ModLoader MCP a lot, I watched Scmouns's MCP coding [modding tutorials] tutorials and they are what helped me start out, i can code blocks, achievements, Items, TNT, Mobs, mob Textures, mob arm leg movement, bosses, recipes, custom sound, custom music, and ETC...
I have not yet had the much experience with MCP FORGE yet...
Here is a fun fact: ItemBow, ItemArrow, EntityArrow, RenderArrow can basically be turned into "guns". "Grenades" can be made by making a simple throwable item, e.g a snowball, also exists inside Minecraft.
Now for a little piece of the harsh truth: no one is going to spoon feed you code in Modification Development, actually IIRC, this section is for help with mods that have been started.
A lot of tutorials are so called "outdated" but if you have just a little tiny bit of Java knowledge, you don't even need "tutorials" for most things, only when it comes to advanced stuff that is in MinecraftForge, for example using the ASM library's accessTransformers.
Hello, I Need some help making my next and i'm trying to add some guns and grenades, i'v been searching the web on google and youtube and i could not find any thing the is in 1.4.7 and is not outdated...
If you could give me source code to test i would be happy
MCP:
Minecraft
Coder
Pack.
i have had experience with ModLoader MCP a lot, I watched Scmouns's MCP coding [modding tutorials] tutorials and they are what helped me start out, i can code blocks, achievements, Items, TNT, Mobs, mob Textures, mob arm leg movement, bosses, recipes, custom sound, custom music, and ETC...
I have not yet had the much experience with MCP FORGE yet...
Pleases leave a comment or CODE!
THANK YOU!
You are basically asking someone else to make the mod for you.
There is no fun on having someone else making you a mod.
It's really not that hard to figure out, but since I'm feeling nice I'll give you some hints.
Start by making a custom bow. Then make a custom egg.
Once you can shoot arrows from the bow and throw the eggs like their normal versions, up the speed/force variable for the bows and instead of spawning a chicken, spawn an explosion at the point the egg hits. Modify the egg code so it explodes every time. You can just shift the bow code around a little bit to make it fire onRightClick instead of redirected to a hold for strength onRightClick. Try plugging a static variable into the bow strength. Do all that and you've basically got a gun and grenade.
It'll take a day or two, but its good to learn it on your own.
XZOzerTY basically spoonfed you. If you don't understand at all, then stop trying to mod and learn Java: when you understand Java, pick up modding again and use MinecraftForge.
Sorry to bother you but could you give me the code for music discs? I basicly want to make a simple mod that adds my friends music as music discs, thanks
XZOzerTY basically spoonfed you. If you don't understand at all, then stop trying to mod and learn Java: when you understand Java, pick up modding again and use MinecraftForge.
He's just asked for help because maybe he doesn't know how minecraft code works...
Give him the answer instead of telling him to give up on his mod.
I came here because i was looking for the same thing as him i've been looking for a tutorial and i only found this... and a 1.2.5 version tutorial, post an updated tutorial version if there are plenty of tutorials, yes, i almost finished my gun with no help but there are some people who needs help...
I came here because i was looking for the same thing as him i've been looking for a tutorial and i only found this... and a 1.2.5 version tutorial, post an updated tutorial version if there are plenty of tutorials, yes, i almost finished my gun with no help but there are some people who needs help...
Ya well for one thing the code for the "GRENADE" is only used in forge and i don't get how other mod makers make guns and random stuff, i'm starting to use forge because i think it's a better apply of source codes and it has more codes then modloader....
Here is a fun fact: ItemBow, ItemArrow, EntityArrow, RenderArrow can basically be turned into "guns". "Grenades" can be made by making a simple throwable item, e.g a snowball, also exists inside Minecraft.
Now for a little piece of the harsh truth: no one is going to spoon feed you code in Modification Development, actually IIRC, this section is for help with mods that have been started.
A lot of tutorials are so called "outdated" but if you have just a little tiny bit of Java knowledge, you don't even need "tutorials" for most things, only when it comes to advanced stuff that is in MinecraftForge, for example using the ASM library's accessTransformers.
well i under stand that but i have had hardly no help at all and this is my third help post
Can anybody understand?
Hello, I Need some help making my next and i'm trying to add some guns and grenades, i'v been searching the web on google and youtube and i could not find any thing the is in 1.6.2 and is not outdated...
If you could give me source code to test i would be happy
MCP:
Minecraft
Coder
Pack.
i have had experience with ModLoader MCP a lot, I watched Scmouns's MCP coding [modding tutorials] tutorials and they are what helped me start out, i can code blocks, achievements, Items, TNT, Mobs, mob Textures, mob arm leg movement, bosses, recipes, custom sound, custom music, and ETC...
I have not yet had the much experience with MCP FORGE yet...
Pleases leave a comment or CODE!
THANK YOU!
Now for a little piece of the harsh truth: no one is going to spoon feed you code in Modification Development, actually IIRC, this section is for help with mods that have been started.
A lot of tutorials are so called "outdated" but if you have just a little tiny bit of Java knowledge, you don't even need "tutorials" for most things, only when it comes to advanced stuff that is in MinecraftForge, for example using the ASM library's accessTransformers.
You are basically asking someone else to make the mod for you.
There is no fun on having someone else making you a mod.
Do it yourself.
Heres the Itemgrenade.class
Now the Rendergrenade.class
and then the Entitygrenade.class
And to do the other in your mod class under the Init's
and then the Entitybombthrow.class file i told u to make
SORY FOR THE CODE MOJANG/MINECRAFT
Start by making a custom bow. Then make a custom egg.
Once you can shoot arrows from the bow and throw the eggs like their normal versions, up the speed/force variable for the bows and instead of spawning a chicken, spawn an explosion at the point the egg hits. Modify the egg code so it explodes every time. You can just shift the bow code around a little bit to make it fire onRightClick instead of redirected to a hold for strength onRightClick. Try plugging a static variable into the bow strength. Do all that and you've basically got a gun and grenade.
It'll take a day or two, but its good to learn it on your own.
http://www.minecraft...cane-tomes-mod/
Coding ain't easy, go figure out yourself.
If you can't the coding isn't your thing.
No one is spoonfeeding others here.
If its for forge, Dont say MODLOADER in the title, then you get the right help
Sorry to bother you but could you give me the code for music discs? I basicly want to make a simple mod that adds my friends music as music discs, thanks
He's just asked for help because maybe he doesn't know how minecraft code works...
Give him the answer instead of telling him to give up on his mod.
There are plenty of tutorials for getting the job done.
He can easily take 1 hour to understand how to make it work.
But no, he is just asking how to do everything.
So, maybe if he made the code already with one of those tutorials, and something is giving him errors. It would be acceptable asking for help here.
Ya well for one thing the code for the "GRENADE" is only used in forge and i don't get how other mod makers make guns and random stuff, i'm starting to use forge because i think it's a better apply of source codes and it has more codes then modloader....
well i under stand that but i have had hardly no help at all and this is my third help post
Can anybody understand?
Can't believe i cant get a code with a Grenade or a Gun that uses a cartage
2. Here, have this guy's tutorial on guns. Its really good
Tutorials/Basic Shooter Item - Blaster Rifle - Minecraft Forge