Skip to content

Commit

Permalink
Fix creative tab missing lang entry.
Browse files Browse the repository at this point in the history
Close #164
  • Loading branch information
MarbleGateKeeper committed Apr 15, 2024
1 parent 94c96ac commit 706f26d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package plus.dragons.createenchantmentindustry.entry;

import net.minecraft.core.NonNullList;
import net.minecraft.network.chat.Component;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.ItemStack;
import org.jetbrains.annotations.NotNull;
Expand All @@ -23,6 +24,11 @@ public void fillItemList(NonNullList<ItemStack> items) {
}


@Override
public Component getDisplayName() {
return Component.literal("CEI");
}

@Override
public @NotNull ItemStack makeIcon() {
return CeiItems.ENCHANTING_GUIDE.asStack();
Expand Down

0 comments on commit 706f26d

Please sign in to comment.