Skip to content

Commit

Permalink
Delete the new creative tab
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnySlopes authored Jun 6, 2022
1 parent f21586e commit d5edbab
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions src/main/java/amymialee/visiblebarriers/VisibleBarriers.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.util.Identifier;
Expand All @@ -12,29 +11,6 @@ public class VisibleBarriers implements ModInitializer {
protected static boolean visible = false;
protected static boolean visibleAir = false;

public static final ItemGroup VISIBLE_BARRIERS = FabricItemGroupBuilder.create(new Identifier(MOD_ID, "visible_barriers"))
.icon(() -> new ItemStack(Items.BARRIER))
.appendItems(stacks -> {
stacks.add(new ItemStack(Items.COMMAND_BLOCK));
stacks.add(new ItemStack(Items.CHAIN_COMMAND_BLOCK));
stacks.add(new ItemStack(Items.REPEATING_COMMAND_BLOCK));
stacks.add(new ItemStack(Items.STRUCTURE_BLOCK));
stacks.add(new ItemStack(Items.JIGSAW));
stacks.add(new ItemStack(Items.SPAWNER));
stacks.add(new ItemStack(Items.BARRIER));
stacks.add(new ItemStack(Items.STRUCTURE_VOID));
stacks.add(new ItemStack(Items.LIGHT));

stacks.add(new ItemStack(Items.DEBUG_STICK));
stacks.add(new ItemStack(Items.KNOWLEDGE_BOOK));
stacks.add(new ItemStack(Items.DRAGON_EGG));
stacks.add(new ItemStack(Items.COMMAND_BLOCK_MINECART));
stacks.add(new ItemStack(Items.FIREWORK_ROCKET));
stacks.add(new ItemStack(Items.FIREWORK_STAR));
stacks.add(new ItemStack(Items.SUSPICIOUS_STEW));
})
.build();

@Override
public void onInitialize() {}

Expand All @@ -45,4 +21,4 @@ public static boolean isVisible() {
public static boolean isVisibleAir() {
return visibleAir;
}
}
}

0 comments on commit d5edbab

Please sign in to comment.