Skip to content

Commit

Permalink
feat(CustomModelData): Add id for category items
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Sep 21, 2023
1 parent 085b1a8 commit 6fc26c3
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.github.thebusybiscuit.mobcapturer.setup;

import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack;

import org.bukkit.Material;
import org.bukkit.NamespacedKey;

Expand All @@ -19,16 +21,17 @@
public final class ItemGroups {
public static final NestedItemGroup MAIN = new NestedItemGroup(
new NamespacedKey(MobCapturer.getInstance(), "mob_capturer"),
new CustomItemStack(
SlimefunUtils.getCustomHead("d429ff1d2015cb11398471bb2f895f7b4c3ccec201e4ad7a86ff24b744878c"),
new SlimefunItemStack(
"MOB_CAPTURER",
"d429ff1d2015cb11398471bb2f895f7b4c3ccec201e4ad7a86ff24b744878c",
"&dMob Capturer"
)
);
public static final SubItemGroup TOOLS = new SubItemGroup(
new NamespacedKey(MobCapturer.getInstance(), "tools"),
MAIN,
new CustomItemStack(
Material.BLAZE_ROD,
ItemStacks.MOB_CANNON,
"&dTools"
)
);
Expand Down

0 comments on commit 6fc26c3

Please sign in to comment.