1
Im working on a map and I have an item that can be dropped and when stepped into it teleports you to a location, the problem is it gets picked up faster then the teleportation works, I was wondering how you could make the pickup take at least a full second, possible using {PickupDelay:#}?
Create an account or sign in to comment.
5
1
You could execute for an item with a scoreboard value of +20 and give the selected item a point every tick. So for example ./scoreboard players add @e[type=Item] timer 1 {Item:{id:"minecraft:dirt",Count:1b}} with ./execute @e[type=Item,score_timer_min=20] ~ ~ ~ /command change 20
2
/summon item ~ ~1 ~ {CustomName:"idk",CustomNameVisible:1,Tags:["idk"],Item:{id:"minecraft:dirt",Count:1b},PickupDelay:20}
20 ticks is a second, hence the 20 for pickup delay, 40 = 2 seconds so on
20 ticks is a second, hence the 20 for pickup delay, 40 = 2 seconds so on
1
This doesn't work, it makes it unable to be picked up
1
I just tried it on my server and it works... what version are you playing on? Or possibly the tick time is off or really bad
1
I made sure my tick speed was at default and it stayed the same, I then did some experimenting and it works now thanks