接口 IForgeRawTagBuilder
- 所有已知实现类:
TagBuilder
public interface IForgeRawTagBuilder
-
方法概要
修饰符和类型方法说明default TagBuilder
default TagBuilder
Adds a tag entry to the remove list.default TagBuilder
removeElement
(ResourceLocation elementID, String source) Adds a single-element entry to the remove list.default TagBuilder
removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.default TagBuilder
replace()
Shorthand version ofreplace(true)
-
方法详细资料
-
getRawBuilder
-
remove
Adds a tag entry to the remove list.- 参数:
tagEntry
- The tag entry to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- 返回:
- The builder for chaining purposes
-
removeElement
Adds a single-element entry to the remove list.- 参数:
elementID
- The ID of the element to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- 返回:
- The builder for chaining purposes
-
removeTag
Adds a tag to the remove list.- 参数:
tagID
- The ID of the tag to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- 返回:
- The builder for chaining purposes
-
replace
Shorthand version ofreplace(true)
-