Skip to content

Commit

Permalink
Allow book to be added to Chiseled Bookshelf. Fixes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
wendall911 committed Oct 4, 2024
1 parent 1c7c976 commit 77710ef
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.concurrent.CompletableFuture;

import homeostatic.common.item.HomeostaticItems;
import net.minecraft.core.HolderLookup;
import net.minecraft.data.PackOutput;
import net.minecraft.data.tags.ItemTagsProvider;
Expand Down Expand Up @@ -59,6 +60,8 @@ protected void addTags(HolderLookup.Provider provider) {
.addOptional(ModIntegration.skLoc("wool_shirt"))
.addOptional(ModIntegration.skLoc("wool_pants"))
.addOptional(ModIntegration.skLoc("wool_shoes"));

this.tag(ItemTags.BOOKSHELF_BOOKS).add(HomeostaticItems.BOOK);
}

}

0 comments on commit 77710ef

Please sign in to comment.