- Jan 20, 2018
- 1,501
- 109
- 63
- 21
Category: Dropped items
Suggested name: Not needed
What I want:
I want a function (or just the code) that spawns a item entity, without moving the item entity. I tried it myself with a few methods, but when I use the drop effect and after that teleporting it back to the original location (because drop item will give it velocity) won't work, because it's causes a visual glitch (so every client sees it moving and after that the item gets teleported). I also tried adding NBT for no motion after dropping the item, but that didn't work as well. I also tried spawning a dropped item with a preset NBT, but I didn't really know how it worked so I did work at first point but stopped working when I tried to add some variables. When I reset that back to the previous It still wasn't working. So I basically want a script that spawns non-moving items at a location from a variable.
Ideas for commands: I don't really care, I just want the code.
Ideas for permissions: Not needed
When I'd like it by: A reasonable time
Suggested name: Not needed
What I want:
I want a function (or just the code) that spawns a item entity, without moving the item entity. I tried it myself with a few methods, but when I use the drop effect and after that teleporting it back to the original location (because drop item will give it velocity) won't work, because it's causes a visual glitch (so every client sees it moving and after that the item gets teleported). I also tried adding NBT for no motion after dropping the item, but that didn't work as well. I also tried spawning a dropped item with a preset NBT, but I didn't really know how it worked so I did work at first point but stopped working when I tried to add some variables. When I reset that back to the previous It still wasn't working. So I basically want a script that spawns non-moving items at a location from a variable.
Ideas for commands: I don't really care, I just want the code.
Ideas for permissions: Not needed
When I'd like it by: A reasonable time