Interface IForgeTagAppender<T>

All Known Implementing Classes:
TagsProvider.TagAppender

public interface IForgeTagAppender<T>
  • Method Details

    • self

      private TagsProvider.TagAppender<T> self()
    • addTags

      default TagsProvider.TagAppender<T> addTags(TagKey<T>... values)
    • replace

      default TagsProvider.TagAppender<T> replace()
    • replace

      default TagsProvider.TagAppender<T> replace(boolean value)
    • remove

      default TagsProvider.TagAppender<T> remove(T entry)
      Adds a registry entry to the tag json's remove list. Callable during datageneration.
      Parameters:
      entry - The entry to remove
      Returns:
      The builder for chaining
    • remove

      default TagsProvider.TagAppender<T> remove(T first, T... entries)
      Adds multiple registry entries to the tag json's remove list. Callable during datageneration.
      Parameters:
      entries - The entries to remove
      Returns:
      The builder for chaining
    • remove

      default TagsProvider.TagAppender<T> remove(ResourceLocation location)
      Adds a single element's ID to the tag json's remove list. Callable during datageneration.
      Parameters:
      location - The ID of the element to remove
      Returns:
      The builder for chaining
    • remove

      default TagsProvider.TagAppender<T> remove(ResourceLocation first, ResourceLocation... locations)
      Adds multiple elements' IDs to the tag json's remove list. Callable during datageneration.
      Parameters:
      locations - The IDs of the elements to remove
      Returns:
      The builder for chaining
    • remove

      default TagsProvider.TagAppender<T> remove(TagKey<T> tag)
      Adds a tag to the tag json's remove list. Callable during datageneration.
      Parameters:
      tag - The ID of the tag to remove
      Returns:
      The builder for chaining
    • remove

      default TagsProvider.TagAppender<T> remove(TagKey<T> first, TagKey<T>... tags)
      Adds multiple tags to the tag json's remove list. Callable during datageneration.
      Parameters:
      tags - The IDs of the tags to remove
      Returns:
      The builder for chaining