Hello, So Im trying to do something like a compressor of items.
The problem is that when It removes the cobblestone it also removes the given item, the Compressed Stone, I want to keep it and only remove the cobblestone.
(Srry for bad english)
The problem is that when It removes the cobblestone it also removes the given item, the Compressed Stone, I want to keep it and only remove the cobblestone.
(Srry for bad english)
Code:
on block break:
if items in player's inventory contains 1 of beacon named "&a&lT1 Mineral Compressor":
if player has 32 of cobblestone:
remove 32 of cobblestone from player's inventory
give player 1 of glowing cobblestone named "&7&lCompressed Stone"