Wiki 9Minecraft Wiki 9Minecraft
Poke Loot Data Pack Wiki › Guides › How to Clear Loot Capsules or Uninstall the Data Pack

How to Clear Loot Capsules or Uninstall the Data Pack

Because loot capsules use entities to display Poke Balls on the ground and track timers, you should use the built-in cleanup commands before removing the data pack or if you accidentally spawned too many capsules in one spot.

Clearing Capsules from an Area

If you used the manual spawn commands and want to clean up the Poke Balls around you without disabling the pack globally, stand in the affected area and run:

/function pokeloot:kill_pokeloots

This removes the loot capsules from the surrounding area while leaving the data pack active for the rest of the world.

Uninstalling the Pack Safely

Simply deleting the data pack file from your world folder can leave behind leftover capsule entities or scoreboards. To completely remove the pack and clean up your world first:

1. Open your chat with cheats or operator permissions enabled.

2. Run /function pokeloot:uninstall.

3. Save and quit your world, then remove the data pack file from your world's datapacks folder.