Interface IForgeRawTagBuilder

All Known Implementing Classes:
TagBuilder

public interface IForgeRawTagBuilder
  • Method Details

    • getRawBuilder

      default TagBuilder getRawBuilder()
    • serializeTagAdditions

      @Deprecated(forRemoval=true, since="1.20.1") default void serializeTagAdditions(com.google.gson.JsonObject tagJson)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Never used, tags use a Codec now, so remove this later.
    • remove

      default TagBuilder remove(TagEntry tagEntry, String source)
      Adds a tag entry to the remove list.
      Parameters:
      tagEntry - The tag entry to add to the remove list
      source - The source of the caller for logging purposes (generally a modid)
      Returns:
      The builder for chaining purposes
    • removeElement

      default TagBuilder removeElement(ResourceLocation elementID, String source)
      Adds a single-element entry to the remove list.
      Parameters:
      elementID - The ID of the element to add to the remove list
      source - The source of the caller for logging purposes (generally a modid)
      Returns:
      The builder for chaining purposes
    • removeTag

      default TagBuilder removeTag(ResourceLocation tagID, String source)
      Adds a tag to the remove list.
      Parameters:
      tagID - The ID of the tag to add to the remove list
      source - The source of the caller for logging purposes (generally a modid)
      Returns:
      The builder for chaining purposes