@@ -0,0 +1,703 @@
+package info.u_team.u_team_core.util;%0A%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.tags.*;%0Aimport net.minecraft.util.ResourceLocation;%0A%0Apublic class TagUtil %7B%0A%09%0A%09public static Tag%3CBlock%3E createBlockTag(String modid, String name) %7B%0A%09%09return new BlockTags.Wrapper(new ResourceLocation(modid, name));%0A%09%7D%0A%09%0A%09public static Tag%3CItem%3E createItemTag(String modid, String name) %7B%0A%09%09return new ItemTags.Wrapper(new ResourceLocation(modid, name));%0A%09%7D%0A%09%0A%09public static Tag%3CBlock%3E fromItemTag(Tag%3CItem%3E block) %7B%0A%09%09return new BlockTags.Wrapper(block.getId());%0A%09%7D%0A%09%0A%09public static Tag%3CItem%3E fromBlockTag(Tag%3CBlock%3E block) %7B%0A%09%09return new ItemTags.Wrapper(block.getId());%0A%09%7D%0A%7D%0A

Add tag util