Skip to content

Commit

Permalink
Add Vein Mining and config files
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkDisorder committed Nov 7, 2024
1 parent 6501b09 commit 4c11812
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 3 deletions.
15 changes: 15 additions & 0 deletions config/veinmining-client.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#If maxBlocksBase from veinmining-server.toml is 0, determines how to activate vein mining.
#IMPORTANT: When using the "HOLD_KEY_DOWN" setting, remember to set a keybinding by going to Options > Controls > Key Binds.
#Allowed Values: STANDING, CROUCHING, HOLD_KEY_DOWN
activationState = "STANDING"
#If maxBlocksBase from veinmining-server.toml is greater than 0, determines how to activate vein mining.
#IMPORTANT: When using the "HOLD_KEY_DOWN" setting, remember to set a keybinding by going to Options > Controls > Key Binds.
#Allowed Values: STANDING, CROUCHING, HOLD_KEY_DOWN
activationStateWithoutEnchantment = "HOLD_KEY_DOWN"
#If enabled, users will be sent warnings about improper enchantment usage.
enableEnchantmentWarnings = true
#If enabled, instructions on how to vein mine will appear in the tooltip of enchanted items.
enableEnchantmentTooltips = true
#If enabled, instructions on how to vein mine will appear above the hotbar when switching to enchanted items.
enableEnchantmentNotifications = false

27 changes: 27 additions & 0 deletions config/veinmining-common.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#The rarity of the enchantment.
#Allowed Values: COMMON, UNCOMMON, RARE, VERY_RARE
rarity = "RARE"
#The number of levels of the enchantment.
#Range: 1 ~ 5
levels = 1
#If enabled, the enchantment is considered a treasure enchantment.
isTreasure = false
#If enabled, the enchantment can be offered by villagers for trade.
isVillagerTrade = true
#If enabled, the enchantment can generate in loot.
isLootable = true
#If enabled, the enchantment can be applied at the enchantment table.
canApplyAtEnchantingTable = true
#If enabled, the enchantment can be applied on books.
canApplyOnBooks = true
#The minimum enchantability required for the first enchantment level.
#Range: 1 ~ 100
minEnchantabilityBase = 15
#The additional enchantability required for each enchantment level after the first.
#Range: 1 ~ 100
minEnchantabilityPerLevel = 5
#Enchantments that cannot be applied together with the enchantment.
incompatibleEnchantments = []
#Items that the enchantment can be applied on.
itemsList = ["is:tool", "quark:pickarang", "quark:flamerang"]

77 changes: 77 additions & 0 deletions config/veinmining-server.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#The minimum destroy speed the used tool needs on the block to vein mine.
#Range: 0.0 ~ 100.0
requiredDestroySpeed = 1.0
#If enabled, vein mining will not activate if the used tool cannot harvest drops from the source block.
requireCorrectTool = true
#The maximum number of blocks to vein mine without the enchantment.
#Range: 0 ~ 1000
maxBlocksBase = 20
#The maximum number of blocks to vein mine per level of the enchantment.
#Range: 1 ~ 1000
maxBlocksPerLevel = 50
#If enabled, vein mining can mine diagonally.
diagonalMining = true
#If enabled, vein mining will stop when the tool can no longer be used.
limitedByDurability = true
#If enabled, vein mining will move drops from blocks to the source location.
relocateDrops = true
#If enabled, vein mining will never break tools.
preventToolDestruction = true
#If enabled, vein mining will damage the tool for each block mined.
addToolDamage = true
#The multiplier to tool damage from blocks that are vein mined.
#Range: 0 ~ 1000
toolDamageMultiplier = 1
#If enabled, vein mining will cause player exhaustion for each block mined.
addExhaustion = true
#The multiplier to player exhaustion from blocks that are vein mined.
#Range: 0.0 ~ 1000.0
exhaustionMultiplier = 0.5
#Determines the vein mineable blocks based on a preset option or a configured list.
#Allowed Values: CONFIG_LIST, ALL, ORES, ORES_LOGS, ORES_STONE, ORES_STONE_LOGS, NO_BLOCK_ENTITIES
blocks = "CONFIG_LIST"
#The blocks or block tags for vein mining if blocks is set to "CONFIG_LIST".
blocksList = [
"#c:ores",
"#forge:ores",
"#forge:sand",
"#forge:clay",
"#forge:stone",
"create_new_age:thorium_ore",
]
#Determines if blocksList contains allowed blocks or denied blocks.
#Allowed Values: ALLOW, DENY
blocksListType = "ALLOW"
#The groups of blocks or block tags that are vein mined together.
groupsList = [
"#forge:obsidian",
"#forge:ores/coal",
"#forge:ores/diamond",
"#forge:ores/emerald",
"#forge:ores/gold",
"#forge:ores/iron",
"#forge:ores/lapis",
"#forge:ores/redstone",
"#forge:ores/quartz",
"#forge:ores/netherite_scrap",
"#forge:ores/copper",
"#forge:ores/tin",
"#forge:ores/osmium",
"#forge:ores/uranium",
"#forge:ores/fluorite",
"#forge:ores/lead",
"#forge:ores/zinc",
"#forge:ores/aluminum",
"#forge:ores/nickel",
"#forge:ores/silver",
"#forge:ores/apatite",
"#forge:ores/cinnabar",
"#forge:ores/niter",
"#forge:ores/ruby",
"#forge:ores/sapphire",
"#forge:ores/sulfur",
"#forge:clay",
"#forge:sand",
"#forge:stone",
"create_new_age:thorium_ore",
]
19 changes: 18 additions & 1 deletion index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63494,7 +63494,7 @@ hash = "570f362ea2b9d90d070e436f4cef78ce3b90ab49f5c09dab7c2a3b6b9495d7f3"

[[files]]
file = "config/create-common.toml"
hash = "509a7639fd0bae962775ad8d3ad6b160d0b0e8b3efd9787c3e8bfb1ecbfd47c1"
hash = "b00c2d28ba303d03c610c8665b963b5ea41ca7f1926c76b00c4835af9c8369fc"

[[files]]
file = "config/create_central_kitchen-common.toml"
Expand Down Expand Up @@ -63800,6 +63800,18 @@ hash = "86630c911ef13831fe61e44e88dcc2a38c3ed7d2cf198da405fcd5e8bec6bafa"
file = "config/sophisticatedstorage-common.toml"
hash = "55a7b289f6d2ecb116d39b385fb8a883f8317734dd42f3be16af11380e26c0a3"

[[files]]
file = "config/veinmining-client.toml"
hash = "751e218122c98263d9de3965fde756ef502d46f582e955f290873923ace2a3d5"

[[files]]
file = "config/veinmining-common.toml"
hash = "7c1961dc0a6ff2bef31f5160d3170c505ece73bbc0ffa44e6e580b8cc73193d4"

[[files]]
file = "config/veinmining-server.toml"
hash = "5820dd4b0b465966712e8ef4c11be899db11c2a8891970a17b2676aa8c55d657"

[[files]]
file = "datapacks/.gitkeep"
hash = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
Expand Down Expand Up @@ -64924,6 +64936,11 @@ file = "mods/vegan-delight.pw.toml"
hash = "65f02723b756b3cd81a4b1e9216f95ad97bcac3dae22a0f7da4b5990a84ea321"
metafile = true

[[files]]
file = "mods/vein-mining.pw.toml"
hash = "0d1a0a24a2d759c48bb1daa4b1bf27df514c91a4ff9a2c87df20ed5ce9ae809a"
metafile = true

[[files]]
file = "mods/village-nullifier.pw.toml"
hash = "5add3fcf11c147962f7e2fbbfddcb82c68b6746134d22162ee0717489aa31211"
Expand Down
13 changes: 13 additions & 0 deletions mods/vein-mining.pw.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "Vein Mining (Fabric/Forge/Quilt)"
filename = "veinmining-forge-1.5.0+1.20.1.jar"
side = "both"

[download]
hash-format = "sha1"
hash = "e484d2f2556bb638c4c3da5e5542eae70035f98a"
mode = "metadata:curseforge"

[update]
[update.curseforge]
file-id = 5481492
project-id = 431611
4 changes: 2 additions & 2 deletions pack.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name = "Vestiges of Tomorrow"
version = "0.23.0"
version = "0.24.0"
pack-format = "packwiz:1.1.0"

[index]
file = "index.toml"
hash-format = "sha256"
hash = "d71dc5298733075e6f7f350be89529cfa95aabd36e4a003e010b39045c9dcb24"
hash = "95f278ccf363e6ed612cadfb55dc04a6eb94d2e28178f3e271c6970421abf55b"

[versions]
forge = "47.3.11"
Expand Down

0 comments on commit 4c11812

Please sign in to comment.