Traveler's Backpack

Traveler's Backpack

32M Downloads

Conflict with quark

ydylol opened this issue ยท 2 comments

commented

The Quark mod adds more wooden boxes but shields the original boxes, which prevents the backpack from being synthesized

commented
import crafttweaker.api.BracketHandlers;

val quarkChestTypes = ["oak","spruce","birch","jungle","acacia","dark_oak","crimson","warped","nether_brick","purpur","prismarine","mushroom"];

for chestType in quarkChestTypes {
    val chest = BracketHandlers.getItem("quark:" + chestType + "_chest");
    craftingTable.addShaped(chestType + "_in_travelers_backpack_recipe", <item:travelersbackpack:standard>,
                 [[<item:minecraft:leather>, <item:minecraft:gold_ingot>, <item:minecraft:leather>],
                  [<item:travelersbackpack:backpack_tank>, chest, <item:travelersbackpack:backpack_tank>],
                  [<item:minecraft:leather>, <item:travelersbackpack:sleeping_bag>, <item:minecraft:leather>]]);
}

here is a crafttweaker script to fix this. I would have liked to use a tag but that did not seem to be working in current crafttweaker.