Skip to content

Commit

Permalink
Add backpacks to dyeable
Browse files Browse the repository at this point in the history
  • Loading branch information
HyCraftHD committed Jul 31, 2024
1 parent bb3d351 commit 18d45aa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import info.u_team.u_team_core.util.TagUtil;
import info.u_team.useful_backpacks.init.UsefulBackpacksCommonTags;
import net.minecraft.core.HolderLookup;
import net.minecraft.tags.ItemTags;
import net.minecraft.world.item.Items;
import net.neoforged.neoforge.common.Tags;

Expand All @@ -29,6 +30,8 @@ public void register(HolderLookup.Provider provider) {
tag(BACKPACK).add(SMALL_BACKPACK.get(), MEDIUM_BACKPACK.get(), LARGE_BACKPACK.get(), ENDERCHEST_BACKPACK.get());
tag(FILTER).add(ITEM_FILTER.get(), TAG_FILTER.get());

tag(ItemTags.DYEABLE).add(SMALL_BACKPACK.get(), MEDIUM_BACKPACK.get(), LARGE_BACKPACK.get());

tag(TagUtil.createItemTag("curios", "back")).addTag(BACKPACK);
tag(TagUtil.createItemTag("trinkets", "chest/back")).addTag(BACKPACK);

Expand Down

0 comments on commit 18d45aa

Please sign in to comment.