Download Pebble's Crate — Minecraft Mods — MetaMods
Pebble's Crate

Pebble's Crate

Active

Downloads

0

Last update

10 months ago

Versions

1.19.2 — 1.21.1
Server
Fabric
Control
Mini-games
Utils

Pebble's Crate

Pebble's Crate mod for Minecraft on the Fabric platform is compatible with versions 1.19.2, 1.20.1, and 1.21.1.

Fabric Language Kotlin

Important: The mod requires Fabric Language Kotlin to be installed.

Configuration Migration

If you want to transfer settings from AdvancedCrates to Pebble's Crate, a special converter is available that will significantly speed up this process. There is also a tool for creating and editing crate configurations (in development):

https://pebblescrate.sethi.tech/

Source Code

GitHub

Permissions

To use administrative commands with LuckPerm installed, the following permission is required: pebbles.admin.crate

Available Commands

  • /padmin crate - displays all available crates from the configuration and allows obtaining a crate transformer or key
  • /padmin getcrate <name> - get a crate transformer
  • /padmin givekey <player> <amount> <cratename> - give a crate key to the specified player

Crate Configuration

After installing the mod, navigate to the /config/pebbles-crate/crates folder or create it, then create a file, for example example.json. Here is an example configuration structure:

{
  "crateName": "Vanilla Items Crate",
  "screenName": "&6Vanilla Items Crate",
  "crateKey": {
    "material": "minecraft:tripwire_hook",
    "name": "&#FFBF00Vanilla Key",
    "lore": [
      "&#FFDC73• Opens a Vanilla Items Crate"
    ]
  },
  "prize": [
    {
      "name": "&#63BC5DDiamond",
      "material": "minecraft:diamond",
      "amount": 1,
      "nbt": "{species:\"cobblemon:bulbasaur\",aspects:[\"shiny\"]}",
      "commands": [
        "give {player_name} minecraft:diamond 1"
      ],
      "broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
      "messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
      "lore": [
        "Chance of getting the drop: {chance}%"
      ],
      "chance": 40
    },
    {
      "name": "&rElytra",
      "material": "minecraft:elytra",
      "amount": 1,
      "commands": [
        "give {player_name} minecraft:elytra 1"
      ],
      "broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
      "messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
      "lore": [
        "Chance of getting the drop: {chance}%"
      ],
      "chance": 5
    },
    {
      "name": "&rGolden Apple",
      "material": "minecraft:golden_apple",
      "amount": 1,
      "commands": [
        "give {player_name} minecraft:golden_apple 1"
      ],
      "broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
      "messageToOpener": "&6[Pebble's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
      "lore": [
        "Chance of getting the drop: {chance}%"
      ],
      "chance": 55
    }
  ]
}

The mod supports legacy formatting (e.g., &#63BC5D, &4, &f, &r), as shown in the example.

Development Plans

  • Admin interface for editing loot in-game
  • Improved error handling
  • Completion of task list
Project members
lilpebs

lilpebs

Developer

Created: 4 May 2023

ID: 9727