跳到正文

Mineral Chance

作者:Serilum

💎 Players can find minerals inside stone-type blocks when mining!

收藏

介绍

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

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube

About the mod

Mineral Chance is a mod created to make mining a little bit more exciting. It adds a chance to find a random mineral after mining a stone-type block. In the overworld these stone blocks are stone, andesite, diorite, granite, tuff and deepslate. In the nether it’s netherrack, basalt and blackstone. More blocks can be added in the config.

By default there is a 1/50 chance to find a mineral. The overworld minerals consist of diamonds, iron nuggets, gold nuggets, copper nuggets, lapis lazuli, redstone and emeralds. The nether minerals consist of quartz, golden nuggets and netherite scraps(1.16+). Mining with Silk Touch will disable mineral drops.

Each mineral has its own weight, so diamonds, emeralds and netherite scraps are a lot rarer than nuggets. Which minerals can drop and how often can be changed in the config, modded items included. Fortune increases the chance to find one, and modded mining tools such as hammers work as well. The message when finding a random mineral can be changed and turned off in the config.

Dependencies

Requires Collective
Included in The Vanilla ExperienceIncluded in Serilum's RPG Bundle
Environment: Server

Configurable

Configuration guide

   All available config options:

Show Spoiler

extraMineralChanceOnOverworldStoneBreak  default 0.02, min 0, max 1.0
The chance a mineral is dropped when an overworld stone block is broken. By default 1/50.

extraMineralChanceOnNetherStoneBreak  default 0.01, min 0, max 1.0
The chance a mineral is dropped when a nether stone block is broken. By default 1/100.

enableOverworldMinerals  default true
If enabled, mining overworld stone blocks has a chance to drop an overworld mineral.

enableNetherMinerals  default true
If enabled, mining nether stone blocks has a chance to drop a nether mineral.

overworldMineralDrops  default “minecraft:iron_nugget=10,minecraft:gold_nugget=8,minecraft:copper_nugget=8,minecraft:redstone=6,minecraft:lapis_lazuli=6,minecraft:emerald=2,minecraft:diamond=1”
The minerals overworld stone can drop. A higher weight drops more often. Item tags work too, starting with a ‘#’.

netherMineralDrops  default “minecraft:quartz=10,minecraft:gold_nugget=10,minecraft:netherite_scrap=1”
The minerals nether stone can drop. A higher weight drops more often. Item tags work too, starting with a ‘#’.

extraOverworldMineralBlocks  default “”
Extra blocks that can drop overworld minerals. Block tags work too, starting with a ‘#’.

extraNetherMineralBlocks  default “”
Extra blocks that can drop nether minerals. Block tags work too, starting with a ‘#’.

enableMineralsInOtherDimensions  default true
If enabled, stone blocks in other dimensions, such as the end, can drop minerals too.

dimensionsWithoutMinerals  default “”
Dimensions in which no minerals are dropped.

fortuneChanceMultiplierPerLevel  default 0.5, min 0, max 10.0
How much each Fortune level increases the mineral chance. 0.5 means +50% per level.

explosionsCanDropMinerals  default false
If enabled, stone blocks destroyed by explosions can drop minerals too.

extraMiningTools  default “”
Extra items that count as a pickaxe, such as mining lasers. Item tags work too, starting with a ‘#’.

disableMineralDropsWithSilkTouch  default true
If enabled, minerals won’t drop from stone mined with the silk touch enchantment.

sendMessageOnMineralFind  default true
If enabled, sends a message when a mineral is found to the player who broke the stone block.

foundMineralMessage  default “You’ve found a mineral hidden in the block!”
The message sent to the player who found a hidden mineral when ‘sendMessageOnMineralFind’ is enabled.

ignoreFakePlayers  default true
If enabled, minerals won’t be dropped if the player is a fake. For example when a mod breaks a block as a simulated player.

Showcase

The effect in action in the overworld with ‘extraMineralChanceOnOverworldStoneBreak‘ set to 0.5:

Show Spoiler

 
The effect in action in the nether with ‘extraMineralChanceOnNetherStoneBreak‘ set to 0.5:

Show Spoiler

Notes and links

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

For issues, ideas, suggestions or anything else there is the Github repo. Thanks!

常见问题

Mineral Chance 支持哪些 Minecraft 版本?

Mineral Chance 支持 Minecraft Java 版 1.12.2–26.3,共 39 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Mineral Chance 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Serilum 的其他作品

查看全部 →