PokéParcels
Server-Side fabric mod for cobblemon that allows players to wrap their pokemon and items to share with others. Including a probability based lootbox system.
10—cobblemon-fabricServer1.21.1mod
PokéParcels
What it does
- Adds server-side gift heads that safely wrap items or Cobblemon Pokémon with full data preservation using custom head textures.
- Supports configurable admin presents/lootboxes defined in JSON with independent reward rolls for items or Pokémon and optional broadcasts.
- Gifts can be opened anywhere (right-click); rewards are delivered to the player inventory/party/PC, falling back to drops if needed.
- Prevents self-opening of player-wrapped gifts by default (toggle in config).
Commands
/gift list— list configured admin present IDs./gift give <player> <present> [amount] [texture]— give configured present heads (texture optional)./gift wrap item [texture]— wrap the item in your main hand into a gift head./gift wrap pokemon <slot> [texture]— wrap a party Pokémon slot (1-6) into a gift head and remove it from the party./gift reload— reload all JSON configs.
Configuration
- Config files live under
config/pokparcels/:config.json(general flags like default texture key, allowSelfOpen, op-only commands)textures.json(named Base64 head textures; defaults include red/green/blue/gold presents)presents.json(admin present definitions, texture choices, reward pools, broadcast messages)messages.json(player-facing text templates)
- Configs can be edited and reloaded in-game with
/gift reload; new gifts use updated settings immediately.
Implementation details / notes
- Gift data is stored in the head’s custom data component, so stacks stay unique and cannot be faked by renaming.
- Item contents are saved with full component data; Pokémon use Cobblemon’s NBT serialization with party/PC delivery and a Pokémon Model item fallback if storage is full.
- Custom head textures are applied via profile components; texture keys fall back to the configured default when invalid.
- Command access defaults to OP-only; toggle via
config.jsonif broader access is desired.
Known limitations / suggestions
- Reward NBT for admin presents applies as custom data; complex component setups may require providing full stack SNBT for best fidelity.
- Wrapping Pokémon currently supports active party slots only; PC wrapping could be added if needed.