From 914ac1c2ae7d99e7d7c8db41e4fbd6b935bfa841 Mon Sep 17 00:00:00 2001 From: Xalcon Date: Sun, 30 Jul 2023 22:33:12 +0200 Subject: [PATCH] add title to creative tab #217 --- src/main/java/net/xalcon/torchmaster/Torchmaster.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/xalcon/torchmaster/Torchmaster.java b/src/main/java/net/xalcon/torchmaster/Torchmaster.java index 0bf67a9..7524b9b 100644 --- a/src/main/java/net/xalcon/torchmaster/Torchmaster.java +++ b/src/main/java/net/xalcon/torchmaster/Torchmaster.java @@ -4,6 +4,7 @@ import net.minecraft.client.renderer.ItemBlockRenderTypes; import net.minecraft.client.renderer.RenderType; import net.minecraft.core.registries.Registries; +import net.minecraft.network.chat.Component; import net.minecraft.server.MinecraftServer; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.CreativeModeTabs; @@ -53,6 +54,7 @@ public class Torchmaster output.accept(new ItemStack(ModBlocks.itemFeralFlareLantern.get())); output.accept(new ItemStack(ModItems.itemFrozenPearl.get())); }) + .title(Component.literal("Torchmaster")) .build() );