I am working on a system that allows a player to build a template building such as a house. Building one of these structures requires the player to meet a certain quota of required items.
(for example 20 planks and 35 stone bricks)
I've been trying different strategies to accomplish this such as draining the chest using a hopper or lazy testforblocking, but I can't seem to find a quick and flexible system for this, either it takes 1 tick per item or the items would have to be arranged in a very specific order so that the testforblock can find it.
I am aware of the AffectedItems stat but I haven't found a way to use it to count items and if it's even possible. I'm not asking for a system that does this, I'm just looking for a concept that I can build on.
0 comments:
Post a Comment