public class ForgeItemTagsProvider extends ItemTagsProvider
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ResourceLocation> |
filter |
generator, registry, tagToBuilder
HASH_FUNCTION
Constructor and Description |
---|
ForgeItemTagsProvider(DataGenerator gen) |
Modifier and Type | Method and Description |
---|---|
private void |
addColored(java.util.function.Consumer<Tag<Item>> consumer,
Tag<Item> group,
java.lang.String pattern) |
private void |
copyColored(Tag<Block> blockGroup,
Tag<Item> itemGroup) |
private Tag<Block> |
getForgeBlockTag(java.lang.String name) |
private Tag<Item> |
getForgeItemTag(java.lang.String name) |
java.lang.String |
getName() |
protected java.nio.file.Path |
makePath(ResourceLocation id) |
void |
registerTags() |
copy, setCollection
act, getBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
private java.util.Set<ResourceLocation> filter
public ForgeItemTagsProvider(DataGenerator gen)
public void registerTags()
registerTags
in class ItemTagsProvider
private void addColored(java.util.function.Consumer<Tag<Item>> consumer, Tag<Item> group, java.lang.String pattern)
protected java.nio.file.Path makePath(ResourceLocation id)
makePath
in class ItemTagsProvider
public java.lang.String getName()
getName
in interface IDataProvider
getName
in class ItemTagsProvider