This is probably not possible yet in MCreator and somewhat difficult coding.
I suggest trying another method. i.e. removing the entity on a counter, and adding the item to the player's inventory. <- I'm 80% sure it is possible in MCreator
1. I believe there is a onEntityTick method in the ranged item element. So in the procedure create a counter that ticks for like 3 seconds. Then remove it and give the item back to the thrower (player).
2. Dont remove the entity when it hits a block or entity. Otherwise you will lose the "yo-yo". I don't think this is possible in MCreator, so you will need to go into the code, and remove a certain snippet on onImpact method.
This is probably not possible yet in MCreator and somewhat difficult coding.
I suggest trying another method. i.e. removing the entity on a counter, and adding the item to the player's inventory. <- I'm 80% sure it is possible in MCreator
uuuuuugh
Too difficult for me to understand
im from Russia, so yea...
how does that matter people worldwide can learn Mcreator
i cant understand quite everything what he said, idk
If someone touches code, i will not understand that person
idk im strange
So basically;
1. I believe there is a onEntityTick method in the ranged item element. So in the procedure create a counter that ticks for like 3 seconds. Then remove it and give the item back to the thrower (player).
2. Dont remove the entity when it hits a block or entity. Otherwise you will lose the "yo-yo". I don't think this is possible in MCreator, so you will need to go into the code, and remove a certain snippet on onImpact method.
Huh.
Pretty damn cool!
But, ugh, i need to do some kind of animation too.
That, like, will show, where you used yo-yo and stuff.
OOO
WAIT
I can make custom model for yo-yo and it will be cool.
Then, everyone will see, where they are throwing and etc.
Sounds like making a yo-yo model could definitely make it cool! ;)
YEYEYEYE
Definitely it is.
Seems kinda difficult to recreate the control over the yo yo in minecraft, time counter would be the easiest part
Well, kind of.
But hey, its some new items and fun!