Floating Item Help

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Floating Item Help

In my mod, I want to make an item that floats up into the sky when it is thrown, (as in when it is an Item Entity), but I can't figure out how do do it.

 

I tried using this procedure, but it didn't work:

 

And neither did this one:

 

Is this even possible? If so how would I do it, and if not what could I do instead?

 

Any help would be greatly appreciated!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you're on the right…
Fri, 04/12/2024 - 11:13

I think you're on the right track- 0.5 y velocity might just not be enough to counteract gravity? I know for a fact it's possible to override the velocities of itemstacks, and the second procedure looks more or less how I'd approach this. At risk of sounding kinda dumb, maybe try cranking up the velocity a bit?