Skip to content

Commit

Permalink
feat: improve tag QoL
Browse files Browse the repository at this point in the history
Closes #1114
  • Loading branch information
klikli-dev committed Jun 8, 2024
1 parent 07c7d3f commit 50a7834
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"values": [
"occultism:dictionary_of_spirits",
"occultism:book_of_binding_foliot",
"occultism:book_of_binding_djinni",
"occultism:book_of_binding_afrit",
"occultism:book_of_binding_marid",
"occultism:book_of_binding_bound_foliot",
"occultism:book_of_binding_bound_djinni",
"occultism:book_of_binding_bound_afrit",
"occultism:book_of_binding_bound_marid",
"occultism:book_of_calling_djinni_manage_machine",
"occultism:book_of_calling_foliot_cleaner",
"occultism:book_of_calling_foliot_lumberjack",
"occultism:book_of_calling_foliot_transport_items"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ private void addMinecraftTags(HolderLookup.Provider provider) {
this.copy(BlockTags.SAPLINGS,ItemTags.SAPLINGS);
this.tag(ItemTags.PICKAXES).add(OccultismItems.INFUSED_PICKAXE.get(),OccultismItems.IESNIUM_PICKAXE.get()).replace(false);
this.tag(ItemTags.SWORDS).add(OccultismItems.BUTCHER_KNIFE.get()).replace(false);

this.tag(ItemTags.BOOKSHELF_BOOKS)
.replace(false)
.add(OccultismItems.DICTIONARY_OF_SPIRITS.get())
.add(OccultismItems.BOOK_OF_BINDING_FOLIOT.get())
.add(OccultismItems.BOOK_OF_BINDING_DJINNI.get())
.add(OccultismItems.BOOK_OF_BINDING_AFRIT.get())
.add(OccultismItems.BOOK_OF_BINDING_MARID.get())
.add(OccultismItems.BOOK_OF_BINDING_BOUND_FOLIOT.get())
.add(OccultismItems.BOOK_OF_BINDING_BOUND_DJINNI.get())
.add(OccultismItems.BOOK_OF_BINDING_BOUND_AFRIT.get())
.add(OccultismItems.BOOK_OF_BINDING_BOUND_MARID.get())
.add(OccultismItems.BOOK_OF_CALLING_DJINNI_MANAGE_MACHINE.get())
.add(OccultismItems.BOOK_OF_CALLING_FOLIOT_CLEANER.get())
.add(OccultismItems.BOOK_OF_CALLING_FOLIOT_LUMBERJACK.get())
.add(OccultismItems.BOOK_OF_CALLING_FOLIOT_TRANSPORT_ITEMS.get());

}

private void addForgeTags(HolderLookup.Provider provider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ public static class Blocks {


public static class Items {



public static final TagKey<Item> IESNIUM_ORE = makeItemTag(new ResourceLocation("forge", "ores/iesnium"));
public static final TagKey<Item> SILVER_ORE = makeItemTag(new ResourceLocation("forge", "ores/silver"));
public static final TagKey<Item> RAW_IESNIUM = makeItemTag(new ResourceLocation("forge", "raw_materials/iesnium"));
Expand Down

0 comments on commit 50a7834

Please sign in to comment.