Forum

Notifications
Clear all

Execute any type of item on the ground.

(@enderman)
New Member

There is possibility in Minecraft 1.2.10 to do something with item on the ground, you can even create crafting on the floor by throwing item.
Hire you have how to execute only 1 named items like Diamond, Stone etc.
/execute @e[type=item,name=Diamond] ~ ~ ~ summon fireworks_rocket ~ ~ ~
This is example how to execute 2-3 and more named items like Gold Ingot, Diamond Chestplate etc.
/execute @e[type=item,name="Gold Ingot"] ~ ~ ~ summon fireworks_rocket ~ ~ ~
With this example if you understand execute command you can do whatever you want.
Hire is example how to kill only dropped gold ingot on the ground.
/kill @e[type=item,name="Gold Ingot"]

Quote
Topic starter Posted : 11/02/2018 11:26 am
(@nikoskon)
Eminent Member

Well there is a problem, if the items are renamed, you cannot use this!
I hope mojang will introduce data for items so we can check them isntead of the name!

ReplyQuote
Posted : 11/02/2018 12:02 pm
(@enderman)
New Member

Well there is a problem, if the items are renamed, you cannot use this!
I hope mojang will introduce data for items so we can check them isntead of the name!

For now you can not check items only specific group of items with name default or renamed item you can.

ReplyQuote
Topic starter Posted : 11/02/2018 12:21 pm
(@sargeantpotato)
Active Member

Well there is a problem, if the items are renamed, you cannot use this!
I hope mojang will introduce data for items so we can check them isntead of the name!

Yes, you can example: if the item is named jeff, and other entities are named jeff, you can do "/execute @e[type=item,name="Jeff"] ~ ~ ~" and it would only detect the item. Is that what you meant, or am I confused?

ReplyQuote
Posted : 14/02/2018 8:55 am
Share: