接口 IForgeRawTagBuilder

所有已知实现类:
TagBuilder

public interface IForgeRawTagBuilder
  • 方法详细资料

    • getRawBuilder

      default TagBuilder getRawBuilder()
    • serializeTagAdditions

      @Deprecated(forRemoval=true, since="1.20.1") default void serializeTagAdditions(com.google.gson.JsonObject tagJson)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      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.
      参数:
      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