August 16, 20223 yr You could do it like this: player.setItemInHand(InteractionHand.MAIN_HAND, ItemStack.EMPTY);
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.