Random Card Rewards

Quick rating

Random Card Rewards

No reviews yet

Random Card Rewards is a data-driven Minecraft mod that lets players draw randomized cards—granting effects, items, or commands—through fully customizable pools, with seamless KubeJS and datapack integration.

Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
randomcardrewards-forge-1.20.1-0.0.3.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Random Card Rewards Mod - English Introduction

Overview
Random Card Rewards is a versatile Minecraft mod that adds a card-based reward system. Players can draw random cards from customizable pools to receive effects, items, or execute commands. Entirely data-driven and reload-friendly, it integrates seamlessly with datapacks and KubeJS.


🔧 Key Features

  1. Interactive Card Selection

    • Open a reward interface:
      /randomcardrewards rewards <pool> <count> <player>
    • List all card pools:
      /randomcardrewards list_pools
  2. Fully Data-Driven

    • Cards and pools defined via JSON in data/randomcardrewards/recipes.
    • Supports /reload for instant updates.
    • Uses Minecraft's recipe system for automatic client sync.
  3. Customizable Card Types

    • Effects (e.g., Strength, Speed)
    • Items (with adjustable quantities)
    • Commands (execute any command)
    • None (blank cards)
  4. For Modpack Creators

    • KubeJS Integration: Dynamically generate pools and reward players.
    • Events: Hook into CardInvokeEvent.Pre/Post to customize logic.
    • Datagen Support: Auto-generate assets via RCRRecipeProvider.java.

📝 JSON Configuration Examples

1. Add a Card

{
  "type": "randomcardrewards:card",
  "content": {
    "type": "effect",  // effect/item/command/none
    "content": "minecraft:strength",  // Effect/Item ID or command
    "i1": 10,  // Amplifier (effect) or item count
    "i2": 1000 // Duration (ticks)
  },
  "id": "yourmod:fire_resistance",
  "meta": {
    "nameKey": "card.fire_resistance.name",  // Localization key
    "descriptionKey": "card.fire_resistance.desc",
    "texture": "yourmod:textures/cards/fire_resistance.png"
  }
}

2. Create a Card Pool

{
  "type": "randomcardrewards:card_pool",
  "id": "yourmod:nether_pool",
  "pool": [
    "yourmod:fire_resistance",
    "yourmod:blaze_powder",
    "yourmod:ghast_tear"
  ]
}

KubeJS Integration

Dynamically reward players:

// Create & reward a temporary card pool
const poolid = RandomCardRewardsAPI.createTmpCardPoolFromPoolRandomly("nether_pool", 5);
RandomCardRewardsAPI.rewardPlayerTmpPool(player, poolid, true); // Auto-remove pool after use

🎮 Events for Developers

  • RCREvents.cardInvokePre: Cancel before a card activates.
  • RCREvents.cardInvokePost: Trigger actions after card use.
    Access card data (RCRCard) and the player.

Data Structure
Cards include:

  • id (ResourceLocation)
  • Localization keys (nameKey, descriptionKey)
  • texture path
  • content (type, effect/item/command, and parameters i1/i2)

Perfect For

  • Custom minigames 🎮
  • RPG quest rewards 🏆
  • Server events 🎉
  • Modpack progression systems ⚙️

GitHub Source | Requires Forge

Allow using in modpacks.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works