Skip to main content
Improved readability and title
Source Link
Joachim
  • 22.7k
  • 15
  • 77
  • 111

How to test for a dropped item in minecraftMinecraft? 1.13.1

I want to test for a dropped spruce logSpruce Log, for example. So what I have is:

execute at @e[type=minecraft:item,name="spruce_log"] run summon minecraft:pig ~ ~ ~execute at @e[type=minecraft:item,name="spruce_log"] run summon minecraft:pig ~ ~ ~

I also tried:

execute at @e[type=minecraft:item,nbt={id:"spruce_log"}] run summon minecraft:pig ~ ~ ~execute at @e[type=minecraft:item,nbt={id:"spruce_log"}] run summon minecraft:pig ~ ~ ~

The pig summoning is just to see if it works. Which it doesntdoesn't. the command block doesntThe Command Block doesn't give me any errors either,. I just dontdon't know how to test for the spruce logSpruce Log item, or any item in specific. I'm using Minecraft 1.13.1.

How to test for a dropped item in minecraft? 1.13.1

I want to test for a dropped spruce log for example. So what I have is:

execute at @e[type=minecraft:item,name="spruce_log"] run summon minecraft:pig ~ ~ ~

I also tried:

execute at @e[type=minecraft:item,nbt={id:"spruce_log"}] run summon minecraft:pig ~ ~ ~

The pig summoning is just to see if it works. Which it doesnt. the command block doesnt give me any errors either, I just dont know how to test for the spruce log item, or any item in specific.

How to test for a dropped item in Minecraft?

I want to test for a dropped Spruce Log, for example. So what I have is:

execute at @e[type=minecraft:item,name="spruce_log"] run summon minecraft:pig ~ ~ ~

I also tried:

execute at @e[type=minecraft:item,nbt={id:"spruce_log"}] run summon minecraft:pig ~ ~ ~

The pig summoning is just to see if it works. Which it doesn't. The Command Block doesn't give me any errors either. I just don't know how to test for the Spruce Log item, or any item in specific. I'm using Minecraft 1.13.1.

Bumped by Community user
Bumped by Community user
Source Link
jeeshway
  • 31
  • 1
  • 1
  • 2

How to test for a dropped item in minecraft? 1.13.1

I want to test for a dropped spruce log for example. So what I have is:

execute at @e[type=minecraft:item,name="spruce_log"] run summon minecraft:pig ~ ~ ~

I also tried:

execute at @e[type=minecraft:item,nbt={id:"spruce_log"}] run summon minecraft:pig ~ ~ ~

The pig summoning is just to see if it works. Which it doesnt. the command block doesnt give me any errors either, I just dont know how to test for the spruce log item, or any item in specific.