We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933a5e2 commit c6f9e33Copy full SHA for c6f9e33
Common/src/main/java/net/darkhax/bookshelf/api/item/ICreativeTabBuilder.java
@@ -22,6 +22,11 @@ default BT setIcon(ItemStack icon) {
22
return setIcon(() -> icon);
23
}
24
25
+ default BT setIconItem(Supplier<ItemLike> iconSupplier) {
26
+
27
+ return this.setIcon(() -> new ItemStack(iconSupplier.get()));
28
+ }
29
30
BT setIcon(Supplier<ItemStack> iconSupplier);
31
32
BT setEnchantmentCategories(EnchantmentCategory... categories);
0 commit comments