跳到正文

Casino pickaxe

💰 Casino Pickaxe adds a unique tool to Minecraft (Forge 1.20.1) that changes the way you gather resources. When you break specific blocks with this pickaxe, you don't get the usual block drop. Instead, you get a random reward from a custom loot pool! 💰

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

🎰 Casino Pickaxe

Turn every mining trip into a game of chance!

✨ Features

Casino Pickaxe adds a unique tool to Minecraft (Forge 1.20.1) that changes the way you gather resources. When you break specific blocks with this pickaxe, you don’t get the usual block drop. Instead, you get a random reward from a custom loot pool!

The Pickaxe: A durable tool capable of mining standard blocks.The Gamble: Break a block, get a surprise!

Will it be a Diamond, a Stick, or something from another mod?

Fully Configurable: Designed for Modpack Creators. You can define exactly which blocks trigger the effect and what items are dropped using standard Data Packs.

 


 

🔧 For Modpack Creators: Configuration Guide

This mod is 100% Data-Driven. You do not need to edit the mod jar. You can configure everything using a standard Data Pack (or via tools like OpenLoader/KubeJS).

 

To customize the mod, you need to override the default Tag (for blocks) and Loot Table (for drops) in your Data Pack.

1. Define Breakable Blocks (The Tag)

Create a JSON file at this exact path:

data/casino_pickaxe/tags/blocks/custom_breakable_blocks.json

Use “replace”: true if you want to remove the default blocks and only use your own list.

JSON

{

  “replace”: true,

  “values”: [

    “minecraft:stone”,

    “minecraft:netherrack”,

    “create:zinc_ore”

  ]

}

 

2. Define the Drops (The Loot Table)

Create a JSON file at this exact path:

data/casino_pickaxe/loot_tables/gameplay/randomdropspool.json

Note: The filename must be exactly randomdropspool.json (no underscores).

You can add any item (even from other mods) and assign weights to determine rarity.

JSON

{

  “pools”: [

    {

      “rolls”: 1,

      “entries”: [

        {

          “type”: “minecraft:item”,

          “name”: “minecraft:cobblestone”,

          “weight”: 80

        },

        {

          “type”: “minecraft:item”,

          “name”: “minecraft:diamond”,

          “weight”: 1

        },

        {

          “type”: “minecraft:item”,

          “name”: “minecraft:golden_apple”,

          “weight”: 5

        }

      ]

    }

  ]

}

 

3. Apply the Changes

  1. Place your folder in .minecraft/saves/YourWorld/datapacks/.

  2. Run the command /reload in-game.

  3. Enjoy your custom casino experience!

 


 

📦 Modpacks

You are free to use this mod in any modpack, provided that you give credit (a link to this page).

 

—————————————————————————

 

If you enjoy my mods and want to support my work, feel free to buy me a coffee! Your support helps me keep creating. ☕ https://ko-fi.com/mr.coconuutt

常见问题

Casino pickaxe 支持哪些 Minecraft 版本?

Casino pickaxe 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Casino pickaxe 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Mr_coconuuttMods 的其他作品

查看全部 →