M Fabric/src/main/java/vazkii/botania/fabric/FabricCommonInitializer.java => Fabric/src/main/java/vazkii/botania/fabric/FabricCommonInitializer.java +2 -1
@@ 38,6 38,7 @@ import net.fabricmc.fabric.api.transfer.v1.fluid.FluidStorage;
import net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant;
import net.fabricmc.fabric.api.transfer.v1.fluid.base.FullItemFluidStorage;
import net.fabricmc.fabric.api.transfer.v1.item.ItemStorage;
+import net.minecraft.ChatFormatting;
import net.minecraft.commands.CommandBuildContext;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;
@@ 211,7 212,7 @@ public class FabricCommonInitializer implements ModInitializer {
BuiltInRegistries.CREATIVE_MODE_TAB,
BotaniaRegistries.BOTANIA_TAB_KEY,
FabricItemGroup.builder()
- .title(Component.translatable("itemGroup.botania.botania"))
+ .title(Component.translatable("itemGroup.botania.botania").withStyle((style -> style.withColor(ChatFormatting.WHITE))))
.icon(() -> new ItemStack(BotaniaItems.lexicon))
.backgroundSuffix("botania.png")
.build()
M Forge/src/main/java/vazkii/botania/forge/ForgeCommonInitializer.java => Forge/src/main/java/vazkii/botania/forge/ForgeCommonInitializer.java +2 -1
@@ 3,6 3,7 @@ package vazkii.botania.forge;
import com.google.common.base.Suppliers;
import com.mojang.brigadier.CommandDispatcher;
+import net.minecraft.ChatFormatting;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;
import net.minecraft.core.Registry;
@@ 219,7 220,7 @@ public class ForgeCommonInitializer {
});
bind(Registries.CREATIVE_MODE_TAB, consumer -> {
consumer.accept(CreativeModeTab.builder()
- .title(Component.translatable("itemGroup.botania.botania"))
+ .title(Component.translatable("itemGroup.botania.botania").withStyle(style -> style.withColor(ChatFormatting.WHITE)))
.icon(() -> new ItemStack(BotaniaItems.lexicon))
.withTabsBefore(CreativeModeTabs.NATURAL_BLOCKS)
.backgroundSuffix("botania.png")
M Xplat/src/main/resources/assets/minecraft/textures/gui/container/creative_inventory/tab_botania.png => Xplat/src/main/resources/assets/minecraft/textures/gui/container/creative_inventory/tab_botania.png +0 -0