Floor crafting failed

Floor crafting failed - From above of faceless barefoot casually dressed woman with brush sitting on floor while placed artworks in abstract style

Guys why this floor crafting dont work?I already tried a few hours still cannot fix it.

/scoreboard players set @e[type=Item] craftss 3 {OnGround:1b,Item:{id:minecraft:minecart,Count:1b}}
/scoreboard players set @e[type=Item] craftss 4 {OnGround:1b,Item:{id:minecraft:dispenser,tag:{display:{Name: "SpaceShipEngine",Lore:[ You will need this to start your spaceship!]}}}}
/execute @e[score_craftss_min=3,score_craftss=3] ~ ~ ~ execute @e[r=0,score_craftss_min=4,score_craftss=4] ~ ~ ~ kill @e[type=Item,score_craftss_min=3,score_craftss=4,r=3]
/execute @e[score_craftss_min=3,score_craftss=3] ~ ~ ~ execute @e[r=0,score_craftss_min=4,score_craftss=4] ~ ~ ~/summon MinecartRideable ~ ~1 ~ {CustomName:"spaceship",CustomNameVisible:1}


Best Answer

Currently, you are killing both items in the third command, and are then trying to execute on the killed items. This cannot work for obvious reasons. Assuming you are using the right items, i.e. setting the scores works as intended (check with /scoreboard objectives setdisplay sidebar craftss) you need to simply swap the third and fourth commands.

There are some minor other problems. If you have problems triggering the third command, you can try relaxing the radius constraint in the second execute in that command to r=1. Lastly, you are missing a space between the last ~ of the second execute of the fourth command and the following summon command.




Pictures about "Floor crafting failed"

Floor crafting failed - Opened Book
Floor crafting failed - Person in Blue Denim Jeans Sitting While Painting
Floor crafting failed - Photo of Woman Lying on Floor While Painting





Failed Crafting Compilation




More answers regarding floor crafting failed

Answer 2

There are a few problems with your commands. First, you can't have spaces in your datatag outside of strings, so you should remove the spaces in instances such as Name: "SpaceShipEngine" where they are not needed, and make the contents of your Lore tag a string by putting quotation marks around it. You also need to add a space between the ~ and / of ~ ~ ~/summon.

Not quite sure what you're trying to do, but you probably also want to swap the order of the last two commands; you're killing the items then trying to execute from them again.

The fixed commands should be:

/scoreboard players set @e[type=Item] craftss 3 {OnGround:1b,Item:{id:"minecraft:minecart",Count:1b}}
/scoreboard players set @e[type=Item] craftss 4 {OnGround:1b,Item:{id:"minecraft:dispenser",tag:{display:{Name:"SpaceShipEngine",Lore:["You will need this to start your spaceship!"]}}}}
/execute @e[score_craftss_min=3,score_craftss=3] ~ ~ ~ execute @e[r=0,score_craftss_min=4,score_craftss=4] ~ ~ ~ summon MinecartRideable ~ ~1 ~ {CustomName:"spaceship",CustomNameVisible:1}
/execute @e[score_craftss_min=3,score_craftss=3] ~ ~ ~ execute @e[r=0,score_craftss_min=4,score_craftss=4] ~ ~ ~ kill @e[type=Item,score_craftss_min=3,score_craftss=4,r=3]

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: RF._.studio, Joy Marino, Anna Shvets, Anna Shvets