I'm working on a nice Medieval Mod with nice generated structures, and many selections of Medieval structures. However, I'm stuck on making a Javelin.
The problem is, when it hits a mob it dissapears...
I want it to hurt the mob and then stick in the ground, you being able to pick it up again. Thats the main thing.
Please Help!
*If any of you are really good at modding, maybe you could also tell me how to cause a Javelin to keep it's damage when thrown and picked up again*
Make it so if it hits a mob, then the javelin drops as an item
Instead of dissapearing, when I get home i could show you an example code.
+1 if i helped :3
Make it so if it hits a mob, then the javelin drops as an item
Instead of dissapearing, when I get home i could show you an example code.
+1 if i helped :3
or an arrow spawns and when you stand over it it will dissapear and you will get back the javelin.
Make it so if it hits a mob, then the javelin drops as an item
Instead of dissapearing, when I get home i could show you an example code.
+1 if i helped :3
Could you show an example code that works? (note-everything else about the javelin works.)
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe problem is, when it hits a mob it dissapears...
I want it to hurt the mob and then stick in the ground, you being able to pick it up again. Thats the main thing.
Please Help!
*If any of you are really good at modding, maybe you could also tell me how to cause a Javelin to keep it's damage when thrown and picked up again*
Check out my other mods on MinecraftForum or my old 1.6.4 mods here: http://www.planetminecraft.com/member/beardielover/ Working on updating them to 1.7, once that is done will upload them here.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYep, a Javelin.
Check out my other mods on MinecraftForum or my old 1.6.4 mods here: http://www.planetminecraft.com/member/beardielover/ Working on updating them to 1.7, once that is done will upload them here.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOh and if you don't know what Javelins are they are basically spears that are lighter and easier to throw.
Check out my other mods on MinecraftForum or my old 1.6.4 mods here: http://www.planetminecraft.com/member/beardielover/ Working on updating them to 1.7, once that is done will upload them here.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumInstead of dissapearing, when I get home i could show you an example code.
+1 if i helped :3
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI'm not advanced with Javascript to do something like that.
Could you show an example code that works? (note-everything else about the javelin works.)
Check out my other mods on MinecraftForum or my old 1.6.4 mods here: http://www.planetminecraft.com/member/beardielover/ Working on updating them to 1.7, once that is done will upload them here.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOh of course.
http://www.mediafire.com/download/z701iici464db96/New_Compressed_(zipped)_Folder.zip
It's a compressed zip with EntityJavelin and ItemJavelin in Notepad Form
Check out my other mods on MinecraftForum or my old 1.6.4 mods here: http://www.planetminecraft.com/member/beardielover/ Working on updating them to 1.7, once that is done will upload them here.
This is actually pretty simple. You just spawn an arrow, and then set it's X velocity.
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAlright, i'll take a look when I'm home from school
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015