Keep Inventory isn't a Cheat in Java but in bedrock – Minecraft Feedback.