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