illusivesoulworks / veinmining

Minecraft Mod: A lightweight, highly configurable Vein Mining enchantment for tools.
Other
30 stars 16 forks source link

[Bug]: I configurated but it isn't working #41

Closed MyYourAll closed 2 years ago

MyYourAll commented 2 years ago

Minecraft Version

1.18.1

What happened?

I Installed and configured the mod but it still isn't working.

the situration: Im playing a modpack with several new ores, but im trying to mine copper with a normal stone pickaxe.

The configuration:

"enchantment": {
    // The rarity of the enchantment ("COMMON", "UNCOMMON", "RARE", "VERY_RARE")
    "rarity": "RARE",
    // The number of levels of the enchantment
    "levels": 1,
    // Whether or not to consider this enchantment as a treasure
    "isTreasure": false,
    // Whether or not this enchantment can be randomly selected for enchanting
    "isRandomlySelectable": true,
    // Whether or not this enchantment is available on books
    "isAvailableOnBooks": true,
    // The minimum enchanting power requirement for the first enchantment level
    "minPowerBase": 15,
    // The additional enchanting power requirement for each enchantment level after the first
    "minPowerPerLevel": 5,
    // List of enchantments that cannot be applied together with this enchantment
    "incompatibleEnchantments": []
},
"veinMining": {
    // The maximum number of blocks to mine without the enchantment
    "requireEffectiveTool": false,
    // The maximum number of blocks to mine without the enchantment
    "maxBlocksBase": 50,
    // The maximum distance from the source block without the enchantment
    "maxDistanceBase": 15,
    // The maximum number of blocks to mine per level of the enchantment
    "maxBlocksPerLevel": 50,
    // The maximum distance from the source block per level of the enchantment
    "maxDistancePerLevel": 15,
    // Whether or not to vein mine diagonally, note this may lead to hidden drops if relocateDrops is false
    "diagonalMining": true,
    // Whether or not to move all drops to the same location
    "relocateDrops": true,
    // Whether or not the tool can break while mining additional blocks
    "preventToolDestruction": false,
    // Whether or not the tool takes damage from mining additional blocks
    "addToolDamage": true,
    // The multiplier to tool damage from mining additional blocks
    "toolDamageMultiplier": 1,
    // Whether or not the player gets exhaustion from mining additional blocks
    "addPlayerExhaustion": true,
    // The multiplier to player exhaustion from mining additional blocks
    "playerExhaustionMultiplier": 1.0,
    // Whether or not to stop vein mining when the tool can no longer be used
    "limitedByDurability": true,
    // Whether to activate vein mining by standing, crouching, or holding down the keybind ("STANDING", "CROUCHING", "KEYBINDING")
    "activationState": "STANDING",
    // List of whitelisted/blacklisted blocks or block tags
    "blocks": ["#c:ores"],
    // Whether the blocks configuration is a whitelist or a blacklist ("WHITELIST", "BLACKLIST")
    blocksPermission = "WHITELIST",
    // List of groupings by block IDs or block tags, comma-separated
    "groups": [
        "#c:topaz_ores",
        "#c:runite_ores",
        "#c:antimony_ores",
        "#c:sphalerite_ores",
        "#c:uranium_ores",
        "#c:sapphire_ores",
        "#c:nickel_ores",
        "#c:sheldonite_ores",
        "#c:vermiculite_ores",
        "#c:lutetium_ores",
        "#c:unobtainium_ores",
        "#c:lapis_ores",
        "#c:zinc_ores",
        "#c:platinum_ores",
        "#c:lunum_ores",
        "#c:tin_ores",
        "#c:stormyx_ores",
        "#c:adamantite_ores",
        "#c:lead_ores",
        "#c:aquarium_ores",
        "#c:copper_ores",
        "#c:aetherium_ores",
        "#c:asterite_ores",
        "#c:iron_ores",
        "#c:banglum_ores",
        "#c:certus_quartz_ores",
        "#c:cinnabar_ores",
        "#c:bauxite_ores",
        "#c:iridium_ores",
        "#c:sulfur_ores",
        "#c:quadrillum_ores",
        "#c:salt_ores",
        "#c:truesilver_ores",
        "#c:osmium_ores",
        "#c:diamond_ores",
        "#c:amethyst_ores",
        "#c:palladium_ores",
        "#c:tungsten_ores",
        "#c:aluminum_ores",
        "#c:prometheum_ores",
        "#c:sodalite_ores",
        "#c:emerald_ores",
        "#c:galaxium_ores",
        "#c:mythril_ores",
        "#c:carmot_ores",
        "#c:metite_ores",
        "#c:redstone_ores",
        "#c:cobalt_ores",
        "#c:tantalite_ores",
        "#c:peridot_ores",
        "#c:manganese_ores",
        "#c:silver_ores",
        "#c:titanium_ores",
        "#c:starrite_ores",
        "#c:orichalcum_ores",
        "#c:stellum_ores",
        "#c:ur_ores",
        "#c:coal_ores",
        "#c:kyber_ores",
        "#c:ruby_ores",
        "#c:pyrite_ores",
        "#c:gold_ores,#minecraft:gold_ores",
        "#c:galena_ores",
        "#c:quartz_ores"
    ]
}

}

How do you trigger this bug?

  1. Try to mine
  2. Mod not working
  3. ...

Loader

Fabric

Loader Version

fabric-api-0.44.0+1.18

Mod Version

veinmining-fabric-0.0.11-1.18.jar

Relevant Log Outputs

No response

TheIllusiveC4 commented 2 years ago

Did you try to mine only Copper ore or did you try other ores as well? If so, which other ores did you try to mine?

MyYourAll commented 2 years ago

I Tried Iron, copper, coal, and the ones from the mod like tin, antimony, Nickel

TheIllusiveC4 commented 2 years ago

Is this in single player? Do you have Cloth Config installed?

TheIllusiveC4 commented 2 years ago

Also, here's an error:

blocksPermission = "WHITELIST",

It should be:

blocksPermission: "WHITELIST",
MyYourAll commented 2 years ago

Wow, thanks! I would never find it

TheIllusiveC4 commented 2 years ago

Did that fix your issue?