接口 IForgeRawTagBuilder

所有已知实现类:
TagBuilder

public interface IForgeRawTagBuilder
  • 方法详细资料

    • getRawBuilder

      default TagBuilder getRawBuilder()
    • remove

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

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

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

      default TagBuilder replace()
      Shorthand version of replace(true)