Class TagBuilder
java.lang.Object
net.minecraft.tags.TagBuilder
- All Implemented Interfaces:
ITagBuilderExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElement(Identifier id) addTag(Identifier id) build()static TagBuildercreate()booleanreplace()replace(boolean value) setReplace(boolean replace) booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ITagBuilderExtension
removeElement, removeTag
-
Field Details
-
removeEntries
-
replace
private boolean replace -
entries
-
-
Constructor Details
-
TagBuilder
public TagBuilder()
-
-
Method Details
-
getRemoveEntries
-
remove
-
create
-
build
-
shouldReplace
public boolean shouldReplace() -
setReplace
-
add
-
addElement
-
addOptionalElement
-
addTag
-
addOptionalTag
-
replace
-
replace
-
isReplace
public boolean isReplace()
-