Naturally Charged Creepers (Fabric)

Naturally Charged Creepers (Fabric)

87.6k Downloads

[Mineral Chance] Applies to player based blocks.

OoLunar opened this issue ยท 0 comments

commented

Information

Minecraft version: 1.21.1
Modloader: Fabric
Fabric loader version: 0.16.5
Environment: Multiplayer

Mod name: Mineral Chance
Mod version: 3.7

Description

When player's place blocks and then mine them, there's a chance that they can receive minerals from their own blocks. Apply this to netherrack and now you have a very easy way to get netherite.

As a solution, perhaps track player based blocks either in memory or db. Then you can add two config options:

// Whether minerals have a chance of dropping for blocks that players have manually placed down.
dropForPlayerPlacedBlocks: bool,

// Whether minerals have a chance of dropping for generated blocks, such as a cobblestone generator.
dropForGeneratedBlocks: bool