Yo-yo plz?

Started by RedCorr on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yo-yo plz?

Can i make a yo-yo item like in terraria?
I want to test something, if its possible.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is probably not…
Tue, 06/23/2020 - 04:07

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

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
uuuuuugh Too difficult for…
Tue, 06/23/2020 - 13:56

uuuuuugh
Too difficult for me to understand
im from Russia, so yea...

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i cant understand quite…
Tue, 06/23/2020 - 14:11

i cant understand quite everything what he said, idk
If someone touches code, i will not understand that person
idk im strange

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So basically; 1. I believe…
Tue, 06/23/2020 - 15:08

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.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Huh. Pretty damn cool! But,…
Tue, 06/23/2020 - 20:21

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.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OOO WAIT I can make custom…
Tue, 06/23/2020 - 20:34

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.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sounds like making a yo-yo…
Tue, 06/23/2020 - 21:07

Sounds like making a yo-yo model could definitely make it cool! ;)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
YEYEYEYE Definitely it is.
Tue, 06/23/2020 - 21:50

YEYEYEYE
Definitely it is.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seems kinda difficult to…
Tue, 06/23/2020 - 23:29

Seems kinda difficult to recreate the control over the yo yo in minecraft, time counter would be the easiest part

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, kind of. But hey, its…
Wed, 06/24/2020 - 05:17

Well, kind of.
But hey, its some new items and fun!