In this tutorial we will show you how to Disable Entity Drops on your server using a gamerule command. This command determines whether entities that are not mobs such as item frames should drop items.

Not to be confused with doMobLoot, which determines whether or not mobs can drop loot upon killing. A tutorial for disabling hostile and friendly mob loot can be found here.

  1. Head over to your server Console or enter into your Minecraft Server.
  2. Enter the command /gamerule doEntityDrops false (ensuring to keep the upper case letters). This'll prevent non-mob entities from dropping items, such as an item frame (as well as the item on the frame) from dropping when the block behind it is broken. Similarily, do /gamerule doEntityDrops true to re-enable the entity drops. Please note that these commands are case sensitive.
    Entering the doEntityDrops gamerule command on a Minecraft server
  3. That's it! entities that are non-mobs should no longer have drops.
    Item frames wont drop items if disabled

If you're still having problems disabling entity drops, feel free to contact our support team at https://serverminer.com/contact and we will happily help you resolve the issue!

Happy mining! ⛏️