Skip to content

Commit

Permalink
BackpackedModule: Updated setTab() to setTabKey()
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelbayria committed Jan 15, 2025
1 parent cd86cdd commit 7bc0e97
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand Down

0 comments on commit 7bc0e97

Please sign in to comment.