Minecraft Blogs / Tutorial

Itemdelay: Create Ungrabable/Never Despawning Items!

  • 57,948 views, 3 today
  • 41
  • 18
  • 51
randomjunglecreeper's Avatar randomjunglecreeper
Level 46 : Master Bunny
37
Hello there!

Here i am again, today with a li´l blog about Commands. What i will be going through is a new feature in the newest snapshots for 1.8: Item customisation. OBSERVE THAT THIS WILL ONLY WORK IN LATEST 1.8 SNAPSHOTS!

So, here is the command:

/summon Item ~ ~1 ~ {Item:{id:minecraft:stone,Count:1}


So, this is the old command, and now you only spawn a dropped down stone block. Now, i will learn you how to: Control the despawn time of the item, and prevent the item from ever despawning/causing the inability to pick it up!



So, first of, i will show how to control the despawn time of the item:




/summon Item ~ ~1 ~ {Item:{id:minecraft:stone,Count:1},Age:60}




Now, with this command, the item will despawn after 60 seconds. This can, of course, be replaced with other numbers, to make it despawn after a longer time, or a shorter time.



So, now to the ability to prevent the item from ever despawning:




/summon Item ~ ~1 ~ {Item:{id:minecraft:stone,Count:1},Age:-32768}




As you can see, the Age is set to -32768. This means that the item will not despawn. 




Next, items with the inability of picking up:




/summon Item ~ ~1 ~ {Item:{id:minecraft:stone,Count:1},PickupDelay:32767}




Now, as you can see, the Pickupdelay is set to 32767. This means that the item will not get picked up. Of course, the PickupDelay, in the same way as the Age, can be changed to change the time of when the item will get picked up. For example: You can set it so the item only gets picked up after 5 seconds. 



Of course, also the item ID and the Count can be changed too, so u can create other items, and joke your friends with unpickupable diamonds :)



As usual, the Age and Pickupdelay can be combined:




/summon Item ~ ~1 ~ {Item:{id:minecraft:stone,Count:1},Age:-32768,PickupDelay:32767}



Now, you have summoned a stone block that will be in its place, until it gets thrown down in the void. None will be able to pick it up, neither will it expire. Why is this good? Well, the main use for it is to have it in multiplayer shops, as display instead of items in item frames, because, you know, you gotta show your command skills :)




So, liked this blog? Did it help you? Then, may i kindly ask you for a diamond? If you want to see more of this, tell me in the comment section so i don't think this is a waste of both your and my time.

Thank you for pop reel!
Tags

2 Update Logs

Update #2 : by randomjunglecreeper 05/13/2014 6:37:41 amMay 13th, 2014

Updated description from Unpickable to Ungrabable
LOAD MORE LOGS

Create an account or sign in to comment.

1
05/22/2019 3:24 pm
Level 6 : Apprentice Miner
Maxis Maximov
Maxis Maximov's Avatar
With this I made this command entitydata @e[type=Item] {PickupDelay:-999} so that [type=Item] {Item:{tag:{display:{Name:"Torch"}}}} can never be dropped, however {PickupDelay:-999}, no matter how hard I try, the item CAN be dropped while facing upwards. I saw a command that FULLY prevents the item from doing that, however I lost it. So how do I make this item Undroppable (All other methods work for GLOBAL (all) items)???
1
07/21/2018 2:20 pm
Level 1 : New Crafter
flyboy59
flyboy59's Avatar
can anyone help me w/ this? heres the command (1.13)
/give @p[limit=1] minecraft:dark_oak_button{Age:-32768,PickupDelay:32767,display:{Name:"{\"text\":\"Smoke\"}"}} 1
i still can pick it up and it dosn't despawn are these still commands for 1.13? or am i just a fool.
its running through a command block.
1
04/09/2018 6:43 pm
Level 1 : New Miner
Memescrafter
Memescrafter's Avatar
I tried using this command /summon Item ~ ~1 ~ {Item:{id:minecraft:diamond,Count:32},Age:-32768,PickupDelay:32767} in 1.12 but it said Data tag parsing failed: Expected '{' but got ':' at: {Item:{id:miinecraft:<--[HERE] and than i out a } in front of the : then it said it needed another one, so i did another one then it said this: WHATS GOING ON?!?!?!?!?!?!?! Data tag parsing failed: Trailing data found at: {Item:{id:minecraft}}d<--[HERE] what is going on!!!?!?!?!?!?! please halp me someone and somehow!!!!!! >:(
1
06/21/2018 5:54 pm
Level 1 : New Miner
SilentRain
SilentRain's Avatar
{id:"minecraft:name"} ... You missing ""
1
08/13/2017 8:35 pm
Level 31 : Artisan Geek
Cardinal System
Cardinal System's Avatar
How can I use this command to summon an item with a special meta? For example, a healing potion: [potion 1 8261]
1
03/18/2017 5:35 pm
Level 1 : New Miner
jasmine dragon1
jasmine dragon1's Avatar
Thanks!! Now I can create a lil something in my world!! >:D
1
11/21/2016 7:41 pm
Level 15 : Journeyman Dragon
nulljfried
nulljfried's Avatar
I found out you can actually destroy the items with lava.
Very helpful review! Thank you for this.
1
10/20/2016 9:05 am
Level 16 : Journeyman Miner
ChiefKA
ChiefKA's Avatar
Cool!
1
10/12/2016 1:14 am
Level 51 : Grandmaster Batman
Hand-E
Hand-E's Avatar
thx I'm making a RP on my realms and I needed a apple that cant be picked up and wont despawn thx alot dude =D!!
1
08/13/2016 1:32 pm
Level 1 : New Miner
multigaminggamergurl
multigaminggamergurl's Avatar
Thanks for this! I was making a map where there was redstone on the floor to represent blood, so this really helped! :)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome