Skip to content
[/craft]

entity_drops

booleanJava 26.2 & Bedrock 26.32

Controls whether entities drop items when they die. When false, mobs and players drop nothing on death — no loot, no XP, no dropped equipment.

Enable entity_drops

Entities drop loot, XP, and equipment when killed (default behavior).

Java/gamerule entity_drops true
Bedrock/gamerule doentitydrops true

Bedrock uses doentitydrops (all-lowercase, no separators).

Disable entity_drops

Entities drop nothing on death — no items, no XP orbs.

Java/gamerule entity_drops false
Bedrock/gamerule doentitydrops false

Default: true. Restore with /gamerule entity_drops true

What entity_drops does

Controls whether entities drop items when they die. When false, mobs and players drop nothing on death — no loot, no XP, no dropped equipment.

Frequently asked questions

Does entity_drops false affect player drops?
Yes — players also drop nothing on death when this is false (unless keep_inventory is also true).
Does this affect XP drops?
Yes — XP orbs are not dropped either when entity_drops is false.
What happened to doEntityDrops?
Renamed to entity_drops in Java snapshot 25w44a. Bedrock uses /gamerule doentitydrops false.

Related gamerules

All Gamerule commandsJava vs Bedrock guide