Throwing Items

10 posts / 0 new
Last post
Offline
Last seen: 1 year 3 months ago
Joined: 09/12/2014 - 15:41
Gems: 0
Throwing Items

Hello, for our mod we want to add some pretty awesome features. But my partner and I have run into a situation. We need a custom code that allows you to throw enderpearls when you are wearing an armor set. Also we need a custom code to disable fall damage entirely when you are wearing armor.

Thanks!



Offline
Last seen: 2 years 1 month ago
Joined: 07/14/2014 - 21:50
Gems: 0
I know how to do throwing

I know how to do throwing items,

First, make a texture,
Then make a gun with the texture,
Then in the bullets (the thing it shoots) choose the gun.

It shoots itself so you can throw it.

Offline
Last seen: 1 year 3 months ago
Joined: 09/12/2014 - 15:41
Gems: 0
RE:I know how to do throwing

@sarpyuce We don't want a gun we want a sword that shoots fireballs but it crashes the game everytime we tried it.

Offline
Last seen: 2 years 1 month ago
Joined: 07/14/2014 - 21:50
Gems: 0
To disable fall damage watch

To disable fall damage watch this video:

https://www.youtube.com/watch?v=s6rNBiex8Vk

Video is not mine; credits to: Killer Unicorns

MatejMSGamer's picture
Offline
Last seen: 1 week 3 days ago
Joined: 05/21/2015 - 13:34
Gems: 0
Yeah, I need that code too

Yeah, I need that code too

I want to make spear, but I can´t program it. If I find it, I will write it here, OK

 

Nuparu00's picture
Offline
Last seen: 4 hours 18 min ago
Joined: 08/27/2013 - 18:03
Gems: 303
RE:Yeah, I need that code too

@MatejMSGamer If you want make your thrown spear looks differant than arrow , you must make custom entity. If you want , i can maybe make small guide.

ArcaneMortis's picture
Offline
Last seen: 5 months 3 days ago
Joined: 08/06/2015 - 01:00
Gems: 143
RE:RE:Yeah, I need that code too

@Nuparu00  Any progress on that guide Nuparu00? :) Im working on a Harry Potter mod and my wand/magic system would be pretty dependant on such a revelation lol

 

Offline
Last seen: 1 month 4 weeks ago
Joined: 02/09/2016 - 23:17
Gems: 1
RE:RE:RE:Yeah, I need that code too

@ArcaneMortis I too am working on such a potter mod system, still in the fetal stages, but definately working on such. So far I created a floo network, just need to learn how to "Create" each network, and "link" them. I know how to set warps, but I so far only know how to set them with coodinates, which is useless if you want to make them in game. If you get a working set of complex wands, id love to see how you go about this. Also if you learn to convert your mod to work in a multiplayer enviroment.

ArcaneMortis's picture
Offline
Last seen: 5 months 3 days ago
Joined: 08/06/2015 - 01:00
Gems: 143
RE:RE:RE:RE:Yeah, I need that code too

@sean_amor Hey sean_amor, sorry for the delay! You might want to give the floocraft mod by FredTargaryen/Hellllp at http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/...

Ive been using that one for a while with my other slew of mods (182 of em right meow) to great satisfaction, and it works pretty much exactly as you describe your intended outcome. As far as my wands go I had put them off since the time of my last post given the limitations of mCreators "gun" item creation, but since the most recent update included the ability to change projectile models Ive been back at work on them. Let me know if you would like to colaborate, Im looking to make an all-encompasing mod to go with an ignorantly large Harry Potter build

MatejMSGamer's picture
Offline
Last seen: 1 week 3 days ago
Joined: 05/21/2015 - 13:34
Gems: 0
yeah sure :) thnx    

yeah sure :) thnx