Today I was having trouble with the scoreboard command. So I added an objective "itemstone" that was dummy. I have a clock doing /scoreboard players set @e[type=Item] itemstone 1 {Item:{id:stone}}. The clock is also running the command /execute @e [type=ArmorStand,name=Sort] ~ ~ ~ tp @e[score_itemstone=min1,r=1] @e[type=ArmorStand,name=ItemStoneCollector] This was supposed to teleport all stone items that are thrown at the armor stand named Sort to the armor stand named ItemStoneCollector. I threw stone at the Sort armor stand, and it teleported to the ItemStoneCollector armor stand. However, I threw a diamond at the Sort one, and it went to the ItemStoneCollector too. I need a way to basically, when a stone item is on the Sort armor stand, it goes to the ItemStoneCollector armor stand, while every other item except stone will get teleported to an armor stand called "Other". If anyone understands my problem and knows how to fix it, please put it
Do you have any mods installed or is the server you're playing on running bukkit / spigot? I just tested the commands and everything works in 1.8 vanilla. Is the command block giving you any error? If so please post it here.
Also, you may check if the items are given correct scores by looking at the sidebar display
Hello again!
Today I was having trouble with the scoreboard command. So I added an objective "itemstone" that was dummy. I have a clock doing /scoreboard players set @e[type=Item] itemstone 1 {Item:{id:stone}}. The clock is also running the command /execute @e [type=ArmorStand,name=Sort] ~ ~ ~ tp @e[score_itemstone=min1,r=1] @e[type=ArmorStand,name=ItemStoneCollector] This was supposed to teleport all stone items that are thrown at the armor stand named Sort to the armor stand named ItemStoneCollector. I threw stone at the Sort armor stand, and it teleported to the ItemStoneCollector armor stand. However, I threw a diamond at the Sort one, and it went to the ItemStoneCollector too. I need a way to basically, when a stone item is on the Sort armor stand, it goes to the ItemStoneCollector armor stand, while every other item except stone will get teleported to an armor stand called "Other". If anyone understands my problem and knows how to fix it, please put it
right here. Thanks!
|
|
|
V
How do I teleport the items that are not stone somewhere else?
Also, it didn't work. I threw stone at Sort and it teleported to ItemStoneCollector, but I threw coal at Sort and it went to ItemStoneCollector too.
The old machine is not running and I deleted and recreated the scoreboard objective "itemstone" It still doesn't work.
I'm on vanilla singleplayer 1.8. Let me do some testing and I will get back to you.
This topic is still unsolved! I know it's possible!
There is no error, just every item gets teleported even if they aren't stone