Disable Mob Drops (No Loot from Mobs)
Stop mobs from dropping items when killed
⚠︎ Awaiting in-game verification for Java 26.2Mobs no longer drop items, XP, or equipment when killed. Set back to true to restore drops.
/gamerule doEntityDrops false29 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command.
- Press Enter — killed mobs drop nothing.
Related commands
Keep your items when you die instead of dropping them
/gamerule keepInventory trueStop creepers, endermen, and other mobs from changing blocks
/gamerule mobGriefing false