From 7bc0e97417f285dab686c87c11b7383185f496fd Mon Sep 17 00:00:00 2001 From: Xel'Bayria <12866666+Xelbayria@users.noreply.github.com> Date: Wed, 15 Jan 2025 00:37:38 -0700 Subject: [PATCH] BackpackedModule: Updated setTab() to setTabKey() --- .../every_compat/modules/mrcrayfish/BackpackedModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/main/java/net/mehvahdjukaar/every_compat/modules/mrcrayfish/BackpackedModule.java b/common/src/main/java/net/mehvahdjukaar/every_compat/modules/mrcrayfish/BackpackedModule.java index 5a23cca14..170a2be05 100644 --- a/common/src/main/java/net/mehvahdjukaar/every_compat/modules/mrcrayfish/BackpackedModule.java +++ b/common/src/main/java/net/mehvahdjukaar/every_compat/modules/mrcrayfish/BackpackedModule.java @@ -3,7 +3,6 @@ import com.mrcrayfish.backpacked.block.ShelfBlock; import com.mrcrayfish.backpacked.core.ModBlockEntities; import com.mrcrayfish.backpacked.core.ModBlocks; -import com.mrcrayfish.backpacked.core.ModCreativeTabs; import net.mehvahdjukaar.every_compat.api.RenderLayer; import net.mehvahdjukaar.every_compat.api.SimpleEntrySet; import net.mehvahdjukaar.every_compat.api.SimpleModule; @@ -27,7 +26,7 @@ public BackpackedModule(String modId) { w -> new ShelfBlock(Utils.copyPropertySafe(w.planks))) .requiresChildren("stripped_log") .addTag(BlockTags.MINEABLE_WITH_AXE, Registries.BLOCK) - .setTab(ModCreativeTabs.MAIN::get) + .setTabKey(modRes("creative_tab")) .addRecipe(modRes("oak_backpack_shelf")) .addTile(ModBlockEntities.SHELF::get) .setRenderType(RenderLayer.CUTOUT)