Posted January 4, 20197 yr I want to keep constantly check if all of the player's 36 slots are full and if it is full I want the player to execute a command. The version is 1.12.2 Edited January 4, 20197 yr by ItsHighNoon
January 4, 20197 yr 20 minutes ago, ItsHighNoon said: I want to keep constantly check if all of the player's 36 slots are full By full do you mean full stacks or just an occupied slot?
January 4, 20197 yr Then just loop through the slots and check if any are empty. I think you can check for ItemStack.isEmpty().
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.