Forum

Notifications
Clear all

custom teleporting with item

(@hawkpeyt)
New Member

hi, there I was wondering if anyone could help me with something I would like to know how to set up a command block where if a player was to chuck an item on the ground how would i get a command block to tp that item back to the player inventory???

Quote
Topic starter Posted : 14/10/2018 5:38 pm
TheSpicyNugget
(@thespicynugget)
Estimable Member

hi, there I was wondering if anyone could help me with something I would like to know how to set up a command block where if a player was to chuck an item on the ground how would i get a command block to tp that item back to the player inventory???

You could have it be a hopper with a carpet on top, so when you throw the item the hopper will collect it and activate a command block giving you the same item back.

ReplyQuote
Posted : 15/10/2018 3:28 pm
(@radiatedmonkey)
Eminent Member
  • Place a command block and set it to repeating and always active
  • Put in: execute @e[type=item] ~ ~ ~ tp @p
ReplyQuote
Posted : 09/01/2019 4:38 pm
Share: