ldtteam / minecolonies-features

This is a repo only to discuss minecolonies features (requested and planned)
10 stars 3 forks source link

Lucy ore by Mine Level Configuration Support #784

Closed efinder2 closed 8 months ago

efinder2 commented 9 months ago

Prerequisites

Context

Is your feature request related to a problem?

Currently I'm evaluating to create an expert Mod Pack on the back of minecolonies. I'd love to modify the lucky ore chance by the mine level.

Enhancement or Change description

I prupose an extension of the config. If present the folowing should be interpreted:

[gameplay]
        # ...
    #Chance to get a lucky block in percent. [Default: 1]
    #Range: 0 ~ 100
    luckyblockchance = 1
        #Overrides when present the luckyblockchance property for miners on the corresponding level
        luckyblockchanceLevel1 = 1
        luckyblockchanceLevel2 = 1
        luckyblockchanceLevel3 = 2
        luckyblockchanceLevel4 = 2
        luckyblockchanceLevel4 = 3
        #..
[compatibility]
     # ....
     #Overrides when present the luckyores property for miners on Level 1
     luckyoresLevel1 = ["minecraft:coal_ore!64", "minecraft:iron_ore!32"]
     #Overrides when present the luckyores property for miners on Level 2
     luckyoresLevel2 = ["minecraft:coal_ore!64", "minecraft:iron_ore!32", "minecraft:gold_ore!16"]
    # continue with level 3-5
    # ....

Notes or related things

If accepted I'd could try to implement it my self.

Viewers