类 TagBuilder
java.lang.Object
net.minecraft.tags.TagBuilder
- 所有已实现的接口:
IForgeRawTagBuilder
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addElement
(ResourceLocation p_215901_) addOptionalElement
(ResourceLocation p_215906_) addOptionalTag
(ResourceLocation p_215910_) addTag
(ResourceLocation p_215908_) build()
static TagBuilder
create()
boolean
Forge: Is this tag set to replace or not?Forge: Add an entry to be removed from this tag in datagenreplace
(boolean value) Forge: Set the replace property of this tag从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.extensions.IForgeRawTagBuilder
getRawBuilder, remove, removeElement, removeTag, replace
-
字段详细资料
-
entries
-
removeEntries
Forge: Used for datagen -
replace
private boolean replace
-
-
构造器详细资料
-
TagBuilder
public TagBuilder()
-
-
方法详细资料
-
create
-
build
-
add
-
addElement
-
addOptionalElement
-
addTag
-
addOptionalTag
-
getRemoveEntries
-
remove
Forge: Add an entry to be removed from this tag in datagen -
replace
Forge: Set the replace property of this tag -
isReplace
public boolean isReplace()Forge: Is this tag set to replace or not?
-