Skip to main content
This guide covers all the tools available for working with Loot Balls in Creative mode, including commands, interactions, NBT editing, and mapmaking utilities. Whether you’re testing loot tables or building custom maps, this page has everything you need.

Creative Mode Tab

In Creative mode, open the Cobbleloots item group tab to find pre-configured Loot Ball items for every ball type. These items come with their texture already set, so you can place them directly into the world. The creative tab includes:
  • Normal Balls — Poké, Citrine, Verdant, Azure, Roseate, Slate, Premier, Great, Ultra, Safari, Fast, Level, Lure, Heavy, Love, Friend, Moon, Sport, Park, Net, Dive, Nest, Repeat, Timer, Luxury, Dusk, Heal, Quick, Dream, Beast, Master, and Cherish.
  • Ancient Balls — Ancient Poké, Ancient Citrine, Ancient Verdant, Ancient Azure, Ancient Roseate, Ancient Slate, Ancient Ivory, Ancient Great, Ancient Ultra, Ancient Feather, Ancient Wing, Ancient Jet, Ancient Heavy, Ancient Leaden, Ancient Gigaton, and Ancient Origin.
  • Special Balls — Rainbow and Pumpkin (with custom Cobbleloots textures).
  • Valuable Items — Nugget, Big Nugget, Pearl, Big Pearl, Pearl String, Stardust, Star Piece, Comet Shard, Rare Bone, and Balm Mushroom.
Creative tab items only have a Texture set — they don’t include LootBallData or Variant by default. This means they display the correct ball appearance, but won’t produce any loot when opened in Survival mode. To make them functional, set the LootBallData field (see NBT Reference below).

👆 Creative Interaction Behaviors

In Creative mode, right-clicking and punching Loot Ball entities behave differently from Survival:

Right-Click Interactions

Setting an item manually overrides the loot table. The Loot Ball will give exactly that item when opened, ignoring any LootBallData loot table.Note: The Creative GUI (opened via Sneak + Right-Click with an empty hand) is the recommended way to configure loot balls. It allows you to modify the LootBallData, variants, textures, uses, item drops, and other properties easily without using commands.

Punch (Left-Click) Interactions

In Survival mode, empty Loot Balls can only be punched when they have 0 remaining uses. In Creative, you can always punch them to destroy and recover contents.

Pick Block (Middle-Click)

Middle-clicking a Loot Ball entity copies it to your inventory as an item, preserving all entity properties: LootBallData, Variant, Texture, Sparks, Invisible, Uses, Multiplier, DespawnTick, PlayerTimer, and XP. This is the best way to duplicate a fully configured Loot Ball.

🎁 Giving Loot Ball Items

Give yourself a configured Loot Ball item using the /give command with minecraft:custom_data:
When using /give, always include the Texture field. Items don’t automatically resolve their texture from LootBallData/Variant the way entities do, which can cause a missing texture if omitted.

Minimal examples

A simple Poke Ball (no variant):
A texture-only decorative ball (no loot data):

🪄 Summoning Loot Ball Entities

Summon a Loot Ball entity directly into the world. For entities, NBT fields go directly in the entity data (no minecraft:custom_data wrapper):
Entities automatically resolve their texture from LootBallData and Variant, so you don’t need to include the Texture field unless you want to override it.

Examples

Summon a loot ball that’s invisible with spark particles:
Summon a loot ball with custom gameplay overrides:
Summon a loot ball with a custom texture override:
Summon a loot ball with a direct loot table (bypassing loot ball data):

🔍 Viewing and Editing Loot Ball NBT

Use Minecraft’s /data commands to inspect and modify Loot Ball entities in real time.

Inspecting data

Get the full NBT data of the nearest Loot Ball:
Get a specific field:

Modifying data

Change the loot ball type:
Make a loot ball invisible:
Set infinite uses:
Set a loot multiplier:
Set a player cooldown (in ticks):
Set experience points reward:
Set a despawn tick (the absolute game tick at which the entity is removed):
Override the texture:
Be careful with /data modify commands — incorrect values can break the entity. Always back up your world before experimenting.

NBT Reference

All NBT tags available on a cobbleloots:loot_ball entity:

Identification Tags

Visual Tags

Gameplay Tags

Loot Table Tags (Advanced)

Internal Tags (read-only)

Tags stored on items use minecraft:custom_data as a wrapper. Tags stored on entities (via /summon or /data) go directly in the entity NBT. When placing a Loot Ball item, its custom_data tags are read into the entity automatically.

🗺️ Mapmaking Utilities

Placing pre-configured Loot Balls

The Loot Ball item can be placed directly on blocks (right-click on a surface). When placed:
  • The item’s minecraft:custom_data is transferred to the entity.
  • The entity faces away from the player (180° offset).
  • A placement sound plays and a game event is emitted.
This makes it easy to set up Loot Balls in custom maps: configure items with /give, then place them where you want.

Infinite Loot Balls

For map features like repeatable rewards, set Uses to -1:
This creates a Loot Ball that can be opened unlimited times, with a 1-hour cooldown per player (72000 ticks).

Hidden Loot Balls with Sparks

Create invisible loot balls that hint at their location with particle effects:
To create a completely hidden loot ball (no particles):

Timed Loot Balls

Create loot balls that disappear after a set time. The DespawnTick uses the absolute game tick, so you need to calculate: current_game_tick + desired_duration. For a loot ball that despawns after 10 minutes (12000 ticks), you can use a command block or function with time calculations, or set it relative to the current time:
DespawnTick is an absolute game tick, not a duration. A value of 12000L means the entity despawns when the world’s game time reaches tick 12000. For dynamic timing, use a function or command block to compute current_tick + duration.

Custom Loot Tables

You can assign any Minecraft loot table to a Loot Ball by using the direct LootTable tag:
This bypasses the Cobbleloots data pack system entirely and uses vanilla (or modded) loot tables directly.

Named Loot Balls for Distribution

Create named items with lore for easy identification in chests or shops:

⚙️ Creative Config Defaults

The mod’s configuration has a Creative category that controls the default values for newly spawned loot ball entities. These act as the baseline when a tag is not explicitly set:
These config defaults affect all newly created loot ball entities — both naturally spawned and summoned via commands. Override them per-entity using NBT tags.

🔧 Troubleshooting Tips

  • 🖼️ Textures not showing on items: Always include the Texture field in /give commands. Items don’t auto-resolve textures from LootBallData like entities do.
  • 🚫 Loot Ball won’t open in Survival: Check the Uses count (0 = exhausted), player cooldown (PlayerTimer), and that the loot ball has a valid LootBallData or LootTable set. Empty loot balls (no loot table or items) won’t open.
  • ⚙️ Commands not working: Ensure you have operator permissions. Creative mode interactions only work while in Creative game mode.
  • 🐛 Entity not spawning: Verify the entity type is cobbleloots:loot_ball and the mod is loaded. Check server logs for errors.
  • 🔄 Pick block not working: Make sure you are in Creative mode. Pick block copies all entity data, including visibility and gameplay properties.
  • 📦 Set item not working: You must right-click while holding an item. If you’re holding a honeycomb and the loot ball is invisible, it will toggle sparks instead of setting the item.

This guide was created with the assistance of AI tools. There may be some errors or inaccuracies.