I give up! I don't know how to manage items from a chest:
I want to remove a certain amount of items from one chest and add another items to another chest.
{factories::%loop-index%::input} => This is a chest block
{factories::%loop-index%::input::item} => This is an item
What I tried:
-Replace variables with constants and still not work.
Whats happens?
- No compilation errors or warnings.
- Line execute because i have a debug line after line 3 and yes is inside the condition.
If i missing something tell me please i gona crazy right now jaja
[doublepost=1588734476,1588734103][/doublepost]Guys i think i dont get it, i don't know why this works....
Because of THIS! ------> 's
I want to remove a certain amount of items from one chest and add another items to another chest.
{factories::%loop-index%::input} => This is a chest block
{factories::%loop-index%::input::item} => This is an item
Code:
#Add 10 of item to chest
add 10 of {factories::%loop-index%::input::item} to {factories::%loop-index%::input}
Code:
#Remove 10 of item from chest
remove 10 of {factories::%loop-index%::input::item} from {factories::%loop-index%::input}
What I tried:
-Replace variables with constants and still not work.
Whats happens?
- No compilation errors or warnings.
- Line execute because i have a debug line after line 3 and yes is inside the condition.
If i missing something tell me please i gona crazy right now jaja
[doublepost=1588734476,1588734103][/doublepost]Guys i think i dont get it, i don't know why this works....
Code:
remove 10 of wheat from {factories::%loop-index%::input}'s inventory
Because of THIS! ------> 's