Class TagEntries<T>

java.lang.Object
net.darkhax.datamancy.common.impl.tags.TagEntries<T>
Direct Known Subclasses:
BlockTags, EnchantmentTags, ItemTags, TrimMaterialTags

public class TagEntries<T> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    TagEntries(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> regKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.tags.TagKey<T>
    of(String path)
     
    net.minecraft.tags.TagKey<T>
    of(String type, net.minecraft.resources.ResourceLocation id)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TagEntries

      public TagEntries(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<T>> regKey)
  • Method Details

    • of

      public net.minecraft.tags.TagKey<T> of(String type, net.minecraft.resources.ResourceLocation id)
    • of

      public net.minecraft.tags.TagKey<T> of(String path)