1

How do I make an item take a full second to be picked up?

NohaMC's Avatar NohaMC11/12/17 7:31 pm
1 emeralds 511 5
11/24/2017 7:00 pm
NohaMC's Avatar NohaMC
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:#}?
Posted by NohaMC's Avatar
NohaMC
Level 15 : Journeyman Crafter
1

Create an account or sign in to comment.

5

1
11/17/2017 5:38 pm
Level 38 : Artisan Miner
Only The Best
Only The Best's Avatar
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
11/12/2017 7:58 pm
Level 1 : New Miner
suitedenderman2
suitedenderman2's Avatar
/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
1
11/17/2017 4:35 pmhistory
Level 15 : Journeyman Crafter
NohaMC
NohaMC's Avatar
This doesn't work, it makes it unable to be picked up
1
11/17/2017 5:38 pm
Level 1 : New Miner
suitedenderman2
suitedenderman2's Avatar
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
11/24/2017 7:00 pmhistory
Level 15 : Journeyman Crafter
NohaMC
NohaMC's Avatar
I made sure my tick speed was at default and it stayed the same, I then did some experimenting and it works now thanks
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome