Hello everyone, is the a way to make items floating like an hologram (holographic display)?
Yes there is by code. Did you mean to put this in Plugin Development ? Also what api?
can you please send me some example code or some API?
I can. But i need to know what api of sponge your using or the mc version?
Spigot API 7.4.0 for Minecraft 1.12.2
Yep thats why i asked (i would have assumed api 8+)
Also sponge api we dont do spigot around here
As for example. It would be something like
Item item;
item.offer(Keys.HAS_GRAVITY, false);
Docs on entity modification
https://docs.spongepowered.org/7.4.0/en/plugin/entities/modifying.html
Java docs on HAS_GRAVITY
https://jd.spongepowered.org/spongeapi/7.4.0/org/spongepowered/api/data/key/Keys.html#HAS_GRAVITY
1 Like