From 548fc93be82b2bb0db220c4df40291b233b66197 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Fri, 8 Sep 2023 01:29:59 +0200 Subject: [PATCH] Add two mods --- docs/mods.md | 4 +- src/universal/config/travelersbackpack.json5 | 158 +++++++++++++++++++ src/universal/mods/replanting-crops.hm.json | 21 +++ src/universal/mods/trinkets.hm.json | 21 +++ 4 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 src/universal/config/travelersbackpack.json5 create mode 100644 src/universal/mods/replanting-crops.hm.json create mode 100644 src/universal/mods/trinkets.hm.json diff --git a/docs/mods.md b/docs/mods.md index 9c5d657..e0c05c4 100644 --- a/docs/mods.md +++ b/docs/mods.md @@ -64,6 +64,7 @@ The [`Better Leaves` resource-pack by MidnightDust](https://modrinth.com/resourc - `Gravestones` - `Light Overlay` - `Mouse Tweaks` +- `Replanting Crops` — automatically replants crops harvested with a hoe - `Stack Refill` — automatically refills the player’s hand - `Supplementaries` — various items - `Traveler's Backpack` — backpacks @@ -79,7 +80,7 @@ The [`Better Leaves` resource-pack by MidnightDust](https://modrinth.com/resourc - `Balm` — required by `Cooking for Blockheads` - `BCLib` — by `BetterNether`, `BetterEnd` - `Cardinal Components API` — required by `Traveler's Backpack` -- `Collective` — required by `Stack Refill`, `Tree Harvester` +- `Collective` — required by `Stack Refill`, `Tree Harvester`, `Replanting Crops` - `Dawn API` — required by `Culinaire` - `Fabric API` - `Fabric Language Kotlin` — required by `Adorn`, `OneTimeOverrides`, `Zoomify` @@ -87,6 +88,7 @@ The [`Better Leaves` resource-pack by MidnightDust](https://modrinth.com/resourc - `oωo` — required by `Fabric Waystones`, `Infinity Buttons` - `Resourceful Lib` — required by `Chipped`, `Handcrafted` - `Statement` — required by `Lanterns Belong on Walls` +- `Trinkets` — required by `Traveler's Backpack` - `YetAnotherConfigLib` — required by `Zoomify` ## Not included diff --git a/src/universal/config/travelersbackpack.json5 b/src/universal/config/travelersbackpack.json5 new file mode 100644 index 0000000..8f5c311 --- /dev/null +++ b/src/universal/config/travelersbackpack.json5 @@ -0,0 +1,158 @@ +{ + "backpackSettings": { + "enableTierUpgrades": true, + "disableCrafting": false, + // Enables wearing backpack directly from ground + "enableBackpackBlockQuickEquip": true, + // Backpack immune to any damage source (lava, fire), can't be destroyed, never disappears as floating item + "invulnerableBackpack": true, + // List of items that can be put in tool slots (Use registry names, for example: minecraft:apple) + "toolSlotsAcceptableItems": [], + // List of items that can't be put in backpack inventory (Use registry names, for example: minecraft:apple) + "blacklistedItems": [], + "allowShulkerBoxes": false, + "tanksCapacity": [ + 162000, + 243000, + 324000, + 405000, + 486000 + ], + // Prevents backpack disappearing in void + "voidProtection": true, + // Places backpack at place where player died + "backpackDeathPlace": true, + // Places backpack at place where player died, replacing all blocks that are breakable and do not have inventory (backpackDeathPlace must be true in order to work) + "backpackForceDeathPlace": false, + "enableSleepingBagSpawnPoint": false, + /* If true, backpack can only be worn by placing it in curios 'Back' slot + WARNING - Remember to TAKE OFF BACKPACK BEFORE enabling or disabling this integration!! - if not you'll lose your backpack + */ + "trinketsIntegration": true + }, + "world": { + // Enables backpacks spawning in loot chests + "enableLoot": true, + // Enables chance to spawn Zombie, Skeleton, Wither Skeleton, Piglin or Enderman with random backpack equipped + "spawnEntitiesWithBackpack": true, + // List of overworld entity types that can spawn with equipped backpack. DO NOT ADD anything to this list, because the game will crash, remove entries if mob should not spawn with backpack + "possibleOverworldEntityTypes": [ + "minecraft:zombie", + "minecraft:skeleton", + "minecraft:enderman" + ], + // List of nether entity types that can spawn with equipped backpack. DO NOT ADD anything to this list, because the game will crash, remove entries if mob should not spawn with backpack + "possibleNetherEntityTypes": [ + "minecraft:wither_skeleton", + "minecraft:piglin" + ], + // Defines spawn chance of entity with backpack (1 in [selected value]) + "spawnChance": 500, + // List of backpacks that can spawn on overworld mobs + "overworldBackpacks": [ + "travelersbackpack:standard", + "travelersbackpack:diamond", + "travelersbackpack:gold", + "travelersbackpack:emerald", + "travelersbackpack:iron", + "travelersbackpack:lapis", + "travelersbackpack:redstone", + "travelersbackpack:coal", + "travelersbackpack:bookshelf", + "travelersbackpack:sandstone", + "travelersbackpack:snow", + "travelersbackpack:sponge", + "travelersbackpack:cake", + "travelersbackpack:cactus", + "travelersbackpack:hay", + "travelersbackpack:melon", + "travelersbackpack:pumpkin", + "travelersbackpack:creeper", + "travelersbackpack:enderman", + "travelersbackpack:skeleton", + "travelersbackpack:spider", + "travelersbackpack:bee", + "travelersbackpack:wolf", + "travelersbackpack:fox", + "travelersbackpack:ocelot", + "travelersbackpack:horse", + "travelersbackpack:cow", + "travelersbackpack:pig", + "travelersbackpack:sheep", + "travelersbackpack:chicken", + "travelersbackpack:squid" + ], + // List of backpacks that can spawn on nether mobs + "netherBackpacks": [ + "travelersbackpack:quartz", + "travelersbackpack:nether", + "travelersbackpack:blaze", + "travelersbackpack:ghast", + "travelersbackpack:magma_cube", + "travelersbackpack:wither" + ], + // Enables trade for Villager Backpack in Librarian villager trades + "enableVillagerTrade": true + }, + "backpackAbilities": { + "enableBackpackAbilities": true, + "forceAbilityEnabled": false, + // List of backpacks that are allowed to have an ability. DO NOT ADD anything to this list, because the game will crash, remove entries if backpack should not have ability + "allowedAbilities": [ + "travelersbackpack:netherite", + "travelersbackpack:diamond", + "travelersbackpack:gold", + "travelersbackpack:emerald", + "travelersbackpack:iron", + "travelersbackpack:lapis", + "travelersbackpack:redstone", + "travelersbackpack:bookshelf", + "travelersbackpack:sponge", + "travelersbackpack:cake", + "travelersbackpack:cactus", + "travelersbackpack:melon", + "travelersbackpack:pumpkin", + "travelersbackpack:creeper", + "travelersbackpack:dragon", + "travelersbackpack:enderman", + "travelersbackpack:blaze", + "travelersbackpack:ghast", + "travelersbackpack:magma_cube", + "travelersbackpack:spider", + "travelersbackpack:wither", + "travelersbackpack:bat", + "travelersbackpack:bee", + "travelersbackpack:ocelot", + "travelersbackpack:cow", + "travelersbackpack:chicken", + "travelersbackpack:squid" + ] + }, + "slownessDebuff": { + // Player gets slowness effect, if carries too many backpacks in inventory + "tooManyBackpacksSlowness": true, + // Maximum number of backpacks, which can be carried in inventory, without slowness effect + "maxNumberOfBackpacks": 3, + "slownessPerExcessedBackpack": 1 + }, + "client": { + // Enables tool cycling via keybind (Default Z) + scroll combination, while backpack is worn + "enableToolCycling": true, + // Enables tip, how to obtain a backpack, if there's no crafting recipe for it + "obtainTips": true, + // Render tools in tool slots on the backpack, while worn + "renderTools": true, + // Render backpack if elytra is present + "renderBackpackWithElytra": true, + // Disable backpack rendering + "disableBackpackRender": false, + "overlay": { + // Enables tanks and tool slots overlay, while backpack is worn + "enableOverlay": true, + // Offsets to left side + "offsetX": 20, + // Offsets to up + "offsetY": 30 + } + } +} diff --git a/src/universal/mods/replanting-crops.hm.json b/src/universal/mods/replanting-crops.hm.json new file mode 100644 index 0000000..c9f3722 --- /dev/null +++ b/src/universal/mods/replanting-crops.hm.json @@ -0,0 +1,21 @@ +{ + "formatVersion": 1, + "displayName": "Replanting Crops", + "enabled": true, + "version": { + "name": "1.20.1-5.1-forge+fabric", + "size": 32443, + "fileName": "replantingcrops-1.20.1-5.1.jar", + "downloadUrl": "https://cdn.modrinth.com/data/EXzIPtJo/versions/ki5wouxc/replantingcrops-1.20.1-5.1.jar", + "hashes": { + "sha1": "4b0201fdf071bd2cf53aabf5749e24332d2e59cb", + "sha512": "9bc75dbed3ebe3c929ae76d970751d5b2617aa434d57c891241bbd10da478a25bcc5825117f3659db195906ed2b7e7da02c4d4e4004308319fcebe0b84584cc7" + } + }, + "source": { + "type": "modrinth", + "modId": "EXzIPtJo", + "versionId": "ki5wouxc", + "ignoreUpdates": false + } +} diff --git a/src/universal/mods/trinkets.hm.json b/src/universal/mods/trinkets.hm.json new file mode 100644 index 0000000..88f793c --- /dev/null +++ b/src/universal/mods/trinkets.hm.json @@ -0,0 +1,21 @@ +{ + "formatVersion": 1, + "displayName": "Trinkets", + "enabled": true, + "version": { + "name": "3.7.1", + "size": 234448, + "fileName": "trinkets-3.7.1.jar", + "downloadUrl": "https://cdn.modrinth.com/data/5aaWibi9/versions/e563ycts/trinkets-3.7.1.jar", + "hashes": { + "sha1": "eb2a91a80d18513ca0b9ea3f76fc86422166e440", + "sha512": "e2869ce20fc87025a8a7d2cbca58ff4857f287004141f51e4b297ea240c18950d5c0ddff258547731974a763efd835d8c3c283804dae03a42e31cb761800f75d" + } + }, + "source": { + "type": "modrinth", + "modId": "5aaWibi9", + "versionId": "e563ycts", + "ignoreUpdates": false + } +}