Yes, i want custom crafting with chest minecarts, because it can be multiplayer friendly. (set a scoreboard objective if it matches the input, set the content of these marked minecarts and set scoreboard objective back to 0) I used that mechanic with players to consume one coal and give an effect if he had a coal.
------------
Or instead of checking entire inventory, should i check only for specific slots and replace them with the result and air? (won't work due to a bug)
I like structure blocks cuz it clones entities (I think...)
What do you mean?
Structure blocks!? What? No one mentioned them.
And why would i need to clone an entity?
I want to replace a slot inside the chest minecart, but sadly /replaceitem doesn't work (bug)
Or check if unneeded slots are empty, so i don't replace something that shouldn't be replaced (setting items with /entitydata clears all slots), this is why it's needed until the bug gets fixed)
I just want custom crafting in vanilla, but 1.12's custom crafting isn't custom enough (i need nbt data and damage values)
What do you mean?
Structure blocks!? What? No one mentioned them.
And why would i need to clone an entity?
I want to replace a slot inside the chest minecart, but sadly /replaceitem doesn't work (bug)
Or check if unneeded slots are empty, so i don't replace something that shouldn't be replaced (setting items with /entitydata clears all slots), this is why it's needed until the bug gets fixed)
First of all, 1.12 doesn't have custom crafting yet. I think it's a planned addition to 1.13.
So, why structure blocks?
You are having a problem of you unable to edit the inventory slots in the minecart chest.
So, instead of replacing it, why not just delete the crafting recipe and spawn the product?
What I mean is:
When somebody placed the items correctly in the minecart chest,
the minecart chest is deleted (probably /tp into the void),
then use structure blocks to clone the minecart chest with the product in front of them.
Theoretically, it should work. The only problem is that I haven't test whether cloning the exact entity with structure blocks is possible or not.
First of all, 1.12 doesn't have custom crafting yet. I think it's a planned addition to 1.13.
So, why structure blocks?
You are having a problem of you unable to edit the inventory slots in the minecart chest.
So, instead of replacing it, why not just delete the crafting recipe and spawn the product?
What I mean is:
When somebody placed the items correctly in the minecart chest,
the minecart chest is deleted (probably /tp into the void),
then use structure blocks to clone the minecart chest with the product in front of them.
Theoretically, it should work. The only problem is that I haven't test whether cloning the exact entity with structure blocks is possible or not.
Structure blocks aren't good for that, entitydata is better.
I can edit the existing one's inventory, but all slots' contents are lost.
Because of that, placing any item to any other slot results in losing it.
This is what i don't want.
Replaceitem would be a good solution, but as i wrote earlier, it's impossible to use with chest minecarts due to a bug.
summon a new one with the result and then make the old one kill itself.
Why do i need to kill the existing and summon a new one?
It's enough if i replace the items inside it.
And it's problem is that when you put something into the other slots, they will be lost. (/entitydata)
The same problem happens when summoning a new one but it also has other problems.
/replaceitem would be a good solution, but i can't use it on a chest minecart due to a bug.
Problem is that you can't.
Therefore, you have to (I think). Until the bug is fixed.
I don't think losing items will be an issue.
Cuz if players are playing with custom crafting, players are forced to follow
your instructions. What's the instruction? ONLY place the right item and amount on the right spot.
Otherwise it just won't craft.
I want to make a multiplayer friendly custom crafting with chest minecarts.
The problem is when you craft something in it, it removes all slots' contents.
/replaceitem won't work (it's a bug)
Old question:
I want to check all slots of a chest minecart.
I need to know, it's specific slots are filled with specific items and all others are empty.
I'm using this in a multiplayer friendly custom crafting that is not ground crafting.
What are the items?
Mapper
My Youtube
I think he mean he want to make a custom crafting with minecart with chest and want to know how to testfor minecart with chest slots
Yes, i want custom crafting with chest minecarts, because it can be multiplayer friendly. (set a scoreboard objective if it matches the input, set the content of these marked minecarts and set scoreboard objective back to 0) I used that mechanic with players to consume one coal and give an effect if he had a coal.
------------
Or instead of checking entire inventory, should i check only for specific slots and replace them with the result and air? (won't work due to a bug)
------------
I know how to /testfor item slots.
I found something that can be useful in such things
Test if a slot contains any item
Sadly, until this error is fixed, it isn't so easy to do what i want.
I like structure blocks cuz it clones entities (I think...)
I think he wants that crafting table in Tinker's Construct Mod...
I assume he wants other players to have access to the same crafting table.
I just want custom crafting in vanilla, but 1.12's custom crafting isn't custom enough (i need nbt data and damage values)
What do you mean?
Structure blocks!? What? No one mentioned them.
And why would i need to clone an entity?
I want to replace a slot inside the chest minecart, but sadly /replaceitem doesn't work (bug)
Or check if unneeded slots are empty, so i don't replace something that shouldn't be replaced (setting items with /entitydata clears all slots), this is why it's needed until the bug gets fixed)
First of all, 1.12 doesn't have custom crafting yet. I think it's a planned addition to 1.13.
So, why structure blocks?
You are having a problem of you unable to edit the inventory slots in the minecart chest.
So, instead of replacing it, why not just delete the crafting recipe and spawn the product?
What I mean is:
When somebody placed the items correctly in the minecart chest,
the minecart chest is deleted (probably /tp into the void),
then use structure blocks to clone the minecart chest with the product in front of them.
Theoretically, it should work. The only problem is that I haven't test whether cloning the exact entity with structure blocks is possible or not.
Structure blocks aren't good for that, entitydata is better.
I can edit the existing one's inventory, but all slots' contents are lost.
Because of that, placing any item to any other slot results in losing it.
This is what i don't want.
Replaceitem would be a good solution, but as i wrote earlier, it's impossible to use with chest minecarts due to a bug.
Why do i need to kill the existing and summon a new one?
It's enough if i replace the items inside it.
And it's problem is that when you put something into the other slots, they will be lost. (/entitydata)
The same problem happens when summoning a new one but it also has other problems.
/replaceitem would be a good solution, but i can't use it on a chest minecart due to a bug.
Problem is that you can't.
Therefore, you have to (I think). Until the bug is fixed.
I don't think losing items will be an issue.
Cuz if players are playing with custom crafting, players are forced to follow
your instructions. What's the instruction? ONLY place the right item and amount on the right spot.
Otherwise it just won't craft.
The problem is that it's impossible to test if other slots are empty, so placing something in the other slots results in losing it when crafting.
It's impossible within 1 command.
yeah, 27 + 2 instead.