diff --git a/Common/src/testmod/java/dev/upcraft/sparkweave/testmod/init/TestCreativeTabs.java b/Common/src/testmod/java/dev/upcraft/sparkweave/testmod/init/TestCreativeTabs.java index f60f85e..69ac3f1 100644 --- a/Common/src/testmod/java/dev/upcraft/sparkweave/testmod/init/TestCreativeTabs.java +++ b/Common/src/testmod/java/dev/upcraft/sparkweave/testmod/init/TestCreativeTabs.java @@ -5,15 +5,13 @@ import dev.upcraft.sparkweave.api.registry.RegistrySupplier; import dev.upcraft.sparkweave.testmod.SparkweaveTestmod; import net.minecraft.core.registries.Registries; -import net.minecraft.network.chat.Component; import net.minecraft.world.item.CreativeModeTab; public class TestCreativeTabs { public static final RegistryHandler TABS = RegistryHandler.create(Registries.CREATIVE_MODE_TAB, SparkweaveTestmod.MODID); - public static final RegistrySupplier ITEMS = TABS.register("items", () -> CreativeTabHelper.newBuilder() - .title(Component.translatable("itemGroup.sparkweave_testmod.items")) + public static final RegistrySupplier ITEMS = TABS.register("items", () -> CreativeTabHelper.newBuilder(SparkweaveTestmod.id("items")) .icon(() -> TestItems.TEST_ITEM.get().getDefaultInstance()) .displayItems((itemDisplayParameters, output) -> CreativeTabHelper.addRegistryEntries(itemDisplayParameters, output, TestItems.ITEMS)) .build()