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
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):🪄 Summoning Loot Ball Entities
Summon a Loot Ball entity directly into the world. For entities, NBT fields go directly in the entity data (nominecraft:custom_data wrapper):
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:🔍 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:Modifying data
Change the loot ball type:NBT Reference
All NBT tags available on acobbleloots: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_datais transferred to the entity. - The entity faces away from the player (180° offset).
- A placement sound plays and a game event is emitted.
/give, then place them where you want.
Infinite Loot Balls
For map features like repeatable rewards, setUses to -1:
Hidden Loot Balls with Sparks
Create invisible loot balls that hint at their location with particle effects:Timed Loot Balls
Create loot balls that disappear after a set time. TheDespawnTick 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 directLootTable tag:
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:🔧 Troubleshooting Tips
- 🖼️ Textures not showing on items: Always include the
Texturefield in/givecommands. Items don’t auto-resolve textures fromLootBallDatalike entities do. - 🚫 Loot Ball won’t open in Survival: Check the
Usescount (0 = exhausted), player cooldown (PlayerTimer), and that the loot ball has a validLootBallDataorLootTableset. 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_balland 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.
