Skrzynka banner
Skrzynka icon

Skrzynka

Skrzynka zawierająca wszystkie pokomony, którą można otworzyć za pomocą specjalnego przedmiotu, skrzynka daje tylko jednego pokemona, każdy pokemon ma...

00
cobblemon-fabricServer1.21.1mod

Skrzynka adds a simple Cobblemon loot crate that hands out one Pokémon when opened with its key.

  • Content: place a skrzynka:crate block and right‑click it with a skrzynka:crate_key. A successful opening consumes one key and removes the crate.
  • Rewards: all implemented Cobblemon species are available with rarity weights (common 85%, mythical 10%, legendary 5%). The selected Pokémon is created at random, then delivered to your party or sent to overflow storage if the party is full. If no space is available anywhere, the crate stays in place.
  • Feedback: players are messaged when they need a key, when a Pokémon is granted (including its rarity), or when delivery fails due to no available storage.
  • Resources: basic models reuse vanilla oak plank textures for the crate and a tripwire-hook styled key. A loot table lets the crate drop itself when broken.
  • Mod details: mod id skrzynka, server-side entrypoint com.playergames.skrzynka.SkrzynkaMod, built against official Mojang mappings.

Limitations / ideas:

  • Rarity weights are hard-coded; adjust in SkrzynkaPokemonSelector if you want different odds.
  • Currently uses the Pokémon’s default properties (level, moves, etc.) besides species and rolled shiny/tera type.