diff --git a/build.gradle b/build.gradle index c80fe7ee..56c4551c 100644 --- a/build.gradle +++ b/build.gradle @@ -137,9 +137,12 @@ dependencies { compileOnly fg.deobf("vazkii.patchouli:Patchouli:${patchouli_version}:api") runtimeOnly fg.deobf("vazkii.patchouli:Patchouli:${patchouli_version}") compileOnly fg.deobf("curse.maven:craftingtweaks-233071:${crafting_tweaks_cf_file_id}") - runtimeOnly fg.deobf("curse.maven:craftingtweaks-233071:${crafting_tweaks_cf_file_id}") compileOnly fg.deobf("curse.maven:balm-531761:${balm_cf_file_id}") - runtimeOnly fg.deobf("curse.maven:balm-531761:${balm_cf_file_id}") + compileOnly fg.deobf("curse.maven:chipped-456956:${chipped_cf_file_id}") + runtimeOnly fg.deobf("curse.maven:chipped-456956:${chipped_cf_file_id}") + compileOnly fg.deobf("curse.maven:ctm-267602:${ctm_cf_file_id}") + runtimeOnly fg.deobf("curse.maven:ctm-267602:${ctm_cf_file_id}") + compileOnly fg.deobf("vazkii.botania:Botania:${botania_version}:api") runtimeOnly fg.deobf("vazkii.botania:Botania:${botania_version}") diff --git a/gradle.properties b/gradle.properties index 8c2de69d..2ff4a461 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,13 +1,15 @@ org.gradle.daemon=false minecraft_version=1.18.2 forge_version=40.1.30 -mod_version=3.18.66 +mod_version=3.18.68 jei_mc_version=1.18.2 jei_version=9.7.0+ curios_version=1.18.2-5.0.6.+ botania_version=1.18.2-430-SNAPSHOT patchouli_version=1.18.2-66 balm_cf_file_id=3914491 -sc_version=1.18.2-0.5.97.+ +sc_version=1.18.2-0.5.104.+ crafting_tweaks_cf_file_id=3584842 +chipped_cf_file_id=4293291 +ctm_cf_file_id=3933537 parchment_version=1.18.1-2022.03.06-1.18.2 \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/botanist_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/botanist_workbench_upgrade.json new file mode 100644 index 00000000..3a1240f3 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/botanist_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/botanist_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/botanist_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/carpenter_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/carpenter_workbench_upgrade.json new file mode 100644 index 00000000..bbf764e1 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/carpenter_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/carpenter_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/carpenter_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/glassblower_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/glassblower_workbench_upgrade.json new file mode 100644 index 00000000..c60504f4 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/glassblower_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/glassblower_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/glassblower_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/mason_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/mason_workbench_upgrade.json new file mode 100644 index 00000000..8e62f903 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/mason_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/mason_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/mason_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/philosopher_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/philosopher_workbench_upgrade.json new file mode 100644 index 00000000..7afa7187 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/philosopher_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/philosopher_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/philosopher_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/shepherd_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/shepherd_workbench_upgrade.json new file mode 100644 index 00000000..32b04ce9 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/shepherd_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/shepherd_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/shepherd_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/tinkerer_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/tinkerer_workbench_upgrade.json new file mode 100644 index 00000000..2ac690c1 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/advancements/recipes/sophisticatedbackpacks/chipped/tinkerer_workbench_upgrade.json @@ -0,0 +1,34 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "sophisticatedbackpacks:chipped/tinkerer_workbench_upgrade" + ] + }, + "criteria": { + "has_upgrade_base": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "sophisticatedbackpacks:upgrade_base" + ] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "sophisticatedbackpacks:chipped/tinkerer_workbench_upgrade" + } + } + }, + "requirements": [ + [ + "has_upgrade_base", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/botanist_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/botanist_workbench_upgrade.json new file mode 100644 index 00000000..f945412f --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/botanist_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/botanist_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:botanist_workbench" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/botanist_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/carpenter_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/carpenter_workbench_upgrade.json new file mode 100644 index 00000000..a7bbe187 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/carpenter_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/carpenter_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:carpenters_table" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/carpenter_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/glassblower_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/glassblower_workbench_upgrade.json new file mode 100644 index 00000000..d0556abf --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/glassblower_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/glassblower_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:glassblower" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/glassblower_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/mason_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/mason_workbench_upgrade.json new file mode 100644 index 00000000..e43c5f90 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/mason_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/mason_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:mason_table" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/mason_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/philosopher_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/philosopher_workbench_upgrade.json new file mode 100644 index 00000000..cb157065 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/philosopher_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/philosopher_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:alchemy_bench" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/philosopher_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/shepherd_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/shepherd_workbench_upgrade.json new file mode 100644 index 00000000..dcc74141 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/shepherd_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/shepherd_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:loom_table" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/shepherd_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/tinkerer_workbench_upgrade.json b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/tinkerer_workbench_upgrade.json new file mode 100644 index 00000000..56642561 --- /dev/null +++ b/src/generated/resources/data/sophisticatedbackpacks/recipes/chipped/tinkerer_workbench_upgrade.json @@ -0,0 +1,35 @@ +{ + "type": "minecraft:crafting_shaped", + "conditions": [ + { + "modid": "chipped", + "type": "forge:mod_loaded" + }, + { + "itemRegistryName": "sophisticatedbackpacks:chipped/tinkerer_workbench_upgrade", + "type": "sophisticatedcore:item_enabled" + } + ], + "pattern": [ + " W ", + "IBI", + " R " + ], + "key": { + "B": { + "item": "sophisticatedbackpacks:upgrade_base" + }, + "R": { + "tag": "forge:dusts/redstone" + }, + "I": { + "tag": "forge:ingots/iron" + }, + "W": { + "item": "chipped:mechanist_workbench" + } + }, + "result": { + "item": "sophisticatedbackpacks:chipped/tinkerer_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/SophisticatedBackpacks.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/SophisticatedBackpacks.java index 2eb1a15f..c12606cb 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/SophisticatedBackpacks.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/SophisticatedBackpacks.java @@ -46,6 +46,7 @@ public SophisticatedBackpacks() { ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, Config.SERVER_SPEC); ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, Config.COMMON_SPEC); commonEventHandler.registerHandlers(); + ModCompat.initCompats(); if (FMLEnvironment.dist == Dist.CLIENT) { ClientEventHandler.registerHandlers(); } @@ -65,7 +66,7 @@ public SophisticatedBackpacks() { private static void setup(FMLCommonSetupEvent event) { SBPPacketHandler.INSTANCE.init(); - ModCompat.initCompats(); + ModCompat.compatsSetup(); event.enqueueWork(ModItems::registerDispenseBehavior); ModItems.registerCauldronInteractions(); SBPCommand.registerArgumentTypes(); diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/CompatModIds.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/CompatModIds.java index c7272284..9680eb86 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/CompatModIds.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/CompatModIds.java @@ -6,4 +6,5 @@ private CompatModIds() {} public static final String BOTANIA = "botania"; public static final String CURIOS = "curios"; public static final String QUARK = "quark"; + public static final String CHIPPED = "chipped"; } diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/ChippedCompat.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/ChippedCompat.java new file mode 100644 index 00000000..f8e73c3b --- /dev/null +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/ChippedCompat.java @@ -0,0 +1,87 @@ +package net.p3pp3rf1y.sophisticatedbackpacks.compat.chipped; + +import earth.terrarium.chipped.Chipped; +import earth.terrarium.chipped.recipe.ChippedRecipe; +import earth.terrarium.chipped.registry.ModRecipeTypes; +import mezz.jei.api.recipe.RecipeType; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.inventory.MenuType; +import net.minecraft.world.item.ItemStack; +import net.minecraftforge.api.distmarker.Dist; +import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.eventbus.api.IEventBus; +import net.minecraftforge.fml.DistExecutor; +import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; +import net.minecraftforge.registries.RegistryObject; +import net.p3pp3rf1y.sophisticatedbackpacks.SophisticatedBackpacks; +import net.p3pp3rf1y.sophisticatedbackpacks.client.gui.SBPButtonDefinitions; +import net.p3pp3rf1y.sophisticatedbackpacks.compat.jei.SBPPlugin; +import net.p3pp3rf1y.sophisticatedbackpacks.init.ModItems; +import net.p3pp3rf1y.sophisticatedcore.client.gui.StorageScreenBase; +import net.p3pp3rf1y.sophisticatedcore.client.gui.UpgradeGuiManager; +import net.p3pp3rf1y.sophisticatedcore.client.gui.utils.Position; +import net.p3pp3rf1y.sophisticatedcore.common.gui.UpgradeContainerRegistry; +import net.p3pp3rf1y.sophisticatedcore.common.gui.UpgradeContainerType; +import net.p3pp3rf1y.sophisticatedcore.compat.ICompat; +import net.p3pp3rf1y.sophisticatedcore.compat.chipped.BlockTransformationUpgradeContainer; +import net.p3pp3rf1y.sophisticatedcore.compat.chipped.BlockTransformationUpgradeItem; +import net.p3pp3rf1y.sophisticatedcore.compat.chipped.BlockTransformationUpgradeTab; +import net.p3pp3rf1y.sophisticatedcore.compat.chipped.BlockTransformationUpgradeWrapper; + +public class ChippedCompat implements ICompat { + + public static final RegistryObject BOTANIST_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/botanist_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.BOTANIST_WORKBENCH_TYPE)); + public static final RegistryObject GLASSBLOWER_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/glassblower_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.GLASSBLOWER_TYPE)); + public static final RegistryObject CARPENTER_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/carpenter_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.CARPENTERS_TABLE_TYPE)); + public static final RegistryObject SHEPHERD_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/shepherd_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.LOOM_TABLE_TYPE)); + public static final RegistryObject MASON_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/mason_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.MASON_TABLE_TYPE)); + public static final RegistryObject PHILOSOPHER_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/philosopher_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.ALCHEMY_BENCH_TYPE)); + public static final RegistryObject TINKERER_WORKBENCH_UPGRADE = ModItems.ITEMS.register("chipped/tinkerer_workbench_upgrade", + () -> new BlockTransformationUpgradeItem(SophisticatedBackpacks.ITEM_GROUP, ModRecipeTypes.MECHANIST_WORKBENCH_TYPE)); + + @Override + public void init() { + IEventBus modBus = FMLJavaModLoadingContext.get().getModEventBus(); + modBus.addGenericListener(MenuType.class, this::registerContainers); + + SBPPlugin.setAdditionalCatalystRegistrar(registration -> { + registration.addRecipeCatalyst(new ItemStack(BOTANIST_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "botanist_workbench"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(GLASSBLOWER_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "glassblower"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(CARPENTER_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "carpenters_table"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(SHEPHERD_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "loom_table"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(MASON_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "mason_table"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(PHILOSOPHER_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "alchemy_bench"), ChippedRecipe.class)); + registration.addRecipeCatalyst(new ItemStack(TINKERER_WORKBENCH_UPGRADE.get()), new RecipeType<>(new ResourceLocation(Chipped.MOD_ID, "mechanist_workbench"), ChippedRecipe.class)); + }); + } + + public void registerContainers(RegistryEvent.Register> evt) { + registerUpgradeContainer(BOTANIST_WORKBENCH_UPGRADE); + registerUpgradeContainer(GLASSBLOWER_WORKBENCH_UPGRADE); + registerUpgradeContainer(CARPENTER_WORKBENCH_UPGRADE); + registerUpgradeContainer(SHEPHERD_WORKBENCH_UPGRADE); + registerUpgradeContainer(MASON_WORKBENCH_UPGRADE); + registerUpgradeContainer(PHILOSOPHER_WORKBENCH_UPGRADE); + registerUpgradeContainer(TINKERER_WORKBENCH_UPGRADE); + } + + private void registerUpgradeContainer(RegistryObject item) { + UpgradeContainerType containerType = new UpgradeContainerType<>(BlockTransformationUpgradeContainer::new); + UpgradeContainerRegistry.register(item.getId(), containerType); + DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> UpgradeGuiManager.registerTab(containerType, (BlockTransformationUpgradeContainer upgradeContainer, Position position, StorageScreenBase screen) -> { + String itemName = item.getId().getPath(); + return new BlockTransformationUpgradeTab(upgradeContainer, position, screen, SBPButtonDefinitions.SHIFT_CLICK_TARGET, itemName.replace('/', '_').substring(0, itemName.length() - "_upgrade".length())); + })); + } + + @Override + public void setup() { + //noop + } +} diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/package-info.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/package-info.java new file mode 100644 index 00000000..1b00f5ea --- /dev/null +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/chipped/package-info.java @@ -0,0 +1,8 @@ +// Auto generated package-info by MCP + +@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault +package net.p3pp3rf1y.sophisticatedbackpacks.compat.chipped; + +import net.minecraft.MethodsReturnNonnullByDefault; + +import javax.annotation.ParametersAreNonnullByDefault; diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/curios/CuriosCompat.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/curios/CuriosCompat.java index f5868291..ec893812 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/curios/CuriosCompat.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/curios/CuriosCompat.java @@ -39,18 +39,6 @@ public class CuriosCompat implements ICompat { public CuriosCompat() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); modEventBus.addListener(this::sendImc); - DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> { - CuriosRendererRegistry.register(ModItems.BACKPACK.get(), BackpackCurioRenderer::new); - CuriosRendererRegistry.register(ModItems.IRON_BACKPACK.get(), BackpackCurioRenderer::new); - CuriosRendererRegistry.register(ModItems.GOLD_BACKPACK.get(), BackpackCurioRenderer::new); - CuriosRendererRegistry.register(ModItems.DIAMOND_BACKPACK.get(), BackpackCurioRenderer::new); - CuriosRendererRegistry.register(ModItems.NETHERITE_BACKPACK.get(), BackpackCurioRenderer::new); - }); - - IEventBus eventBus = MinecraftForge.EVENT_BUS; - eventBus.addGenericListener(ItemStack.class, this::onAttachCapabilities); - - addPlayerInventoryHandlers(); } private void addPlayerInventoryHandlers() { @@ -98,6 +86,17 @@ public LazyOptional getCapability(Capability cap, @Nullable Direction @Override public void setup() { - //noop + DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> { + CuriosRendererRegistry.register(ModItems.BACKPACK.get(), BackpackCurioRenderer::new); + CuriosRendererRegistry.register(ModItems.IRON_BACKPACK.get(), BackpackCurioRenderer::new); + CuriosRendererRegistry.register(ModItems.GOLD_BACKPACK.get(), BackpackCurioRenderer::new); + CuriosRendererRegistry.register(ModItems.DIAMOND_BACKPACK.get(), BackpackCurioRenderer::new); + CuriosRendererRegistry.register(ModItems.NETHERITE_BACKPACK.get(), BackpackCurioRenderer::new); + }); + + IEventBus eventBus = MinecraftForge.EVENT_BUS; + eventBus.addGenericListener(ItemStack.class, this::onAttachCapabilities); + + addPlayerInventoryHandlers(); } } diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/jei/SBPPlugin.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/jei/SBPPlugin.java index 4876aa38..b9e47010 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/jei/SBPPlugin.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/compat/jei/SBPPlugin.java @@ -34,10 +34,16 @@ import java.util.ArrayList; import java.util.List; +import java.util.function.Consumer; @SuppressWarnings("unused") @JeiPlugin public class SBPPlugin implements IModPlugin { + private static Consumer additionalCatalystRegistrar = registration -> {}; + public static void setAdditionalCatalystRegistrar(Consumer additionalCatalystRegistrar) { + SBPPlugin.additionalCatalystRegistrar = additionalCatalystRegistrar; + } + @Override public ResourceLocation getPluginUid() { return new ResourceLocation(SophisticatedBackpacks.MOD_ID, "default"); @@ -93,6 +99,8 @@ private UpgradeRecipe copyUpgradeRecipe(UpgradeRecipe recipe) { @Override public void registerRecipeCatalysts(IRecipeCatalystRegistration registration) { registration.addRecipeCatalyst(new ItemStack(ModItems.CRAFTING_UPGRADE.get()), RecipeTypes.CRAFTING); + registration.addRecipeCatalyst(new ItemStack(ModItems.STONECUTTER_UPGRADE.get()), RecipeTypes.STONECUTTING); + additionalCatalystRegistrar.accept(registration); } @Override diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/data/SBPRecipeProvider.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/data/SBPRecipeProvider.java index 99bad52d..436e2529 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/data/SBPRecipeProvider.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/data/SBPRecipeProvider.java @@ -11,14 +11,19 @@ import net.minecraft.tags.ItemTags; import net.minecraft.world.item.Items; import net.minecraft.world.item.crafting.Ingredient; +import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraftforge.common.Tags; +import net.minecraftforge.common.crafting.conditions.ModLoadedCondition; import net.p3pp3rf1y.sophisticatedbackpacks.SophisticatedBackpacks; +import net.p3pp3rf1y.sophisticatedbackpacks.compat.chipped.ChippedCompat; import net.p3pp3rf1y.sophisticatedbackpacks.crafting.BackpackDyeRecipe; import net.p3pp3rf1y.sophisticatedbackpacks.crafting.BackpackUpgradeRecipe; import net.p3pp3rf1y.sophisticatedbackpacks.crafting.BasicBackpackRecipe; import net.p3pp3rf1y.sophisticatedbackpacks.crafting.SmithingBackpackUpgradeRecipe; import net.p3pp3rf1y.sophisticatedbackpacks.init.ModItems; +import net.p3pp3rf1y.sophisticatedcore.compat.CompatModIds; +import net.p3pp3rf1y.sophisticatedcore.compat.chipped.BlockTransformationUpgradeItem; import net.p3pp3rf1y.sophisticatedcore.crafting.ShapeBasedRecipeBuilder; import net.p3pp3rf1y.sophisticatedcore.crafting.UpgradeNextTierRecipe; import net.p3pp3rf1y.sophisticatedcore.util.RegistryHelper; @@ -576,6 +581,32 @@ protected void buildCraftingRecipes(Consumer consumer) { Ingredient.of(Items.NETHERITE_INGOT), ModItems.NETHERITE_BACKPACK.get()) .unlocks("has_diamond_backpack", has(ModItems.DIAMOND_BACKPACK.get())) .save(consumer, RegistryHelper.getItemKey(ModItems.NETHERITE_BACKPACK.get())); + + addChippedUpgradeRecipes(consumer); + } + + private static void addChippedUpgradeRecipes(Consumer consumer) { + addChippedUpgradeRecipe(consumer, ChippedCompat.BOTANIST_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.BOTANIST_WORKBENCH.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.GLASSBLOWER_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.GLASSBLOWER.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.CARPENTER_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.CARPENTERS_TABLE.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.SHEPHERD_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.LOOM_TABLE.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.MASON_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.MASON_TABLE.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.PHILOSOPHER_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.ALCHEMY_BENCH.get()); + addChippedUpgradeRecipe(consumer, ChippedCompat.TINKERER_WORKBENCH_UPGRADE.get(), earth.terrarium.chipped.registry.ModBlocks.MECHANIST_WORKBENCH.get()); + } + + private static void addChippedUpgradeRecipe(Consumer consumer, BlockTransformationUpgradeItem upgrade, Block workbench) { + ShapeBasedRecipeBuilder.shaped(upgrade) + .pattern(" W ") + .pattern("IBI") + .pattern(" R ") + .define('B', ModItems.UPGRADE_BASE.get()) + .define('R', Tags.Items.DUSTS_REDSTONE) + .define('I', Tags.Items.INGOTS_IRON) + .define('W', workbench) + .unlockedBy(HAS_UPGRADE_BASE, has(ModItems.UPGRADE_BASE.get())) + .condition(new ModLoadedCondition(CompatModIds.CHIPPED)) + .save(consumer); } private static InventoryChangeTrigger.TriggerInstance hasLeather() { diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModCompat.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModCompat.java index 77108e1e..47360b1f 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModCompat.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModCompat.java @@ -4,6 +4,7 @@ import net.p3pp3rf1y.sophisticatedbackpacks.SophisticatedBackpacks; import net.p3pp3rf1y.sophisticatedbackpacks.compat.CompatModIds; import net.p3pp3rf1y.sophisticatedbackpacks.compat.botania.BotaniaCompat; +import net.p3pp3rf1y.sophisticatedbackpacks.compat.chipped.ChippedCompat; import net.p3pp3rf1y.sophisticatedbackpacks.compat.curios.CuriosCompat; import net.p3pp3rf1y.sophisticatedcore.compat.ICompat; @@ -16,22 +17,30 @@ public class ModCompat { private ModCompat() {} private static final Map>> compatFactories = new HashMap<>(); + private static final Map loadedCompats = new HashMap<>(); static { compatFactories.put(CompatModIds.CURIOS, () -> CuriosCompat::new); compatFactories.put(CompatModIds.BOTANIA, () -> BotaniaCompat::new); + compatFactories.put(CompatModIds.CHIPPED, () -> ChippedCompat::new); + } + + public static void compatsSetup() { + loadedCompats.values().forEach(ICompat::setup); } public static void initCompats() { for (Map.Entry>> entry : compatFactories.entrySet()) { if (ModList.get().isLoaded(entry.getKey())) { try { - entry.getValue().get().call().setup(); + loadedCompats.put(entry.getKey(), entry.getValue().get().call()); } catch (Exception e) { SophisticatedBackpacks.LOGGER.error("Error instantiating compatibility ", e); } } } + + loadedCompats.values().forEach(ICompat::init); } } diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModItems.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModItems.java index a864e13e..67ef79e2 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModItems.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/init/ModItems.java @@ -148,7 +148,7 @@ public class ModItems { private ModItems() {} - private static final DeferredRegister ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, SophisticatedBackpacks.MOD_ID); + public static final DeferredRegister ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, SophisticatedBackpacks.MOD_ID); private static final DeferredRegister> CONTAINERS = DeferredRegister.create(ForgeRegistries.CONTAINERS, SophisticatedBackpacks.MOD_ID); private static final DeferredRegister> ENTITIES = DeferredRegister.create(ForgeRegistries.ENTITIES, SophisticatedBackpacks.MOD_ID); diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 85319fab..2d88a8d3 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -60,7 +60,7 @@ side="BOTH" [[dependencies.sophisticatedbackpacks]] modId="sophisticatedcore" #mandatory mandatory=true #mandatory -versionRange="[1.18.2-0.5.97,)" #mandatory +versionRange="[1.18.2-0.5.104,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER diff --git a/src/main/resources/assets/sophisticatedbackpacks/lang/en_us.json b/src/main/resources/assets/sophisticatedbackpacks/lang/en_us.json index 4823829c..53131035 100644 --- a/src/main/resources/assets/sophisticatedbackpacks/lang/en_us.json +++ b/src/main/resources/assets/sophisticatedbackpacks/lang/en_us.json @@ -91,6 +91,20 @@ "item.sophisticatedbackpacks.tool_swapper_upgrade.tooltip": "Automatically swaps item in player's hand for the one effective on the block/entity when these are left clicked.", "item.sophisticatedbackpacks.advanced_tool_swapper_upgrade": "Advanced Tool Swapper Upgrade", "item.sophisticatedbackpacks.advanced_tool_swapper_upgrade.tooltip": "Automatically swaps item in player's hand for the one effective on the block/entity when these are left clicked.\nHas filter options and enables swapping wrench like tools for block/entity player is looking at with %s", + "item.sophisticatedbackpacks.chipped.botanist_workbench_upgrade": "Chipped: Botanist's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.botanist_workbench_upgrade.tooltip": "Chipped Botanist's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.glassblower_workbench_upgrade": "Chipped: Glassblower's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.glassblower_workbench_upgrade.tooltip": "Chipped Glassblower's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.carpenter_workbench_upgrade": "Chipped: Carpenter's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.carpenter_workbench_upgrade.tooltip": "Chipped Carpenter's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.mason_workbench_upgrade": "Chipped: Mason's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.mason_workbench_upgrade.tooltip": "Chipped Mason's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.shepherd_workbench_upgrade": "Chipped: Shepherd's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.shepherd_workbench_upgrade.tooltip": "Chipped Shepherd's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.philosopher_workbench_upgrade": "Chipped: Philosopher's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.philosopher_workbench_upgrade.tooltip": "Chipped Philosopher's Workbench in an upgrade tab", + "item.sophisticatedbackpacks.chipped.tinkerer_workbench_upgrade": "Chipped: Tinkerer's Workbench Upgrade", + "item.sophisticatedbackpacks.chipped.tinkerer_workbench_upgrade.tooltip": "Chipped Tinkerer's Workbench in an upgrade tab", "keybind.sophisticatedbackpacks.category": "Sophisticated Backpacks", "keybind.sophisticatedbackpacks.open_backpack": "Open Backpack", "keybind.sophisticatedbackpacks.inventory_interaction": "Run Inventory Interaction Upgrades", diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/botanist_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/botanist_workbench_upgrade.json new file mode 100644 index 00000000..52f3b3a0 --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/botanist_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/botanist_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/carpenter_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/carpenter_workbench_upgrade.json new file mode 100644 index 00000000..61f96b95 --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/carpenter_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/carpenter_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/glassblower_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/glassblower_workbench_upgrade.json new file mode 100644 index 00000000..a47f219b --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/glassblower_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/glassblower_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/mason_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/mason_workbench_upgrade.json new file mode 100644 index 00000000..954c481e --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/mason_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/mason_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/philosopher_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/philosopher_workbench_upgrade.json new file mode 100644 index 00000000..ec99417d --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/philosopher_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/philosopher_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/shepherd_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/shepherd_workbench_upgrade.json new file mode 100644 index 00000000..976230bd --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/shepherd_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/shepherd_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/tinkerer_workbench_upgrade.json b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/tinkerer_workbench_upgrade.json new file mode 100644 index 00000000..b9e898f2 --- /dev/null +++ b/src/main/resources/assets/sophisticatedbackpacks/models/item/chipped/tinkerer_workbench_upgrade.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "sophisticatedbackpacks:item/chipped/tinkerer_workbench_upgrade" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/botanist_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/botanist_workbench_upgrade.png new file mode 100644 index 00000000..5111b33a Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/botanist_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/carpenter_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/carpenter_workbench_upgrade.png new file mode 100644 index 00000000..41c54736 Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/carpenter_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/glassblower_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/glassblower_workbench_upgrade.png new file mode 100644 index 00000000..b1bcf947 Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/glassblower_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/mason_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/mason_workbench_upgrade.png new file mode 100644 index 00000000..fb188dcd Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/mason_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/philosopher_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/philosopher_workbench_upgrade.png new file mode 100644 index 00000000..5fecf84b Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/philosopher_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/shepherd_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/shepherd_workbench_upgrade.png new file mode 100644 index 00000000..37c79a6e Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/shepherd_workbench_upgrade.png differ diff --git a/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/tinkerer_workbench_upgrade.png b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/tinkerer_workbench_upgrade.png new file mode 100644 index 00000000..6578a82e Binary files /dev/null and b/src/main/resources/assets/sophisticatedbackpacks/textures/item/chipped/tinkerer_workbench_upgrade.png differ