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