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 pElementLocation) addOptionalElement
(ResourceLocation pElementLocation) addOptionalTag
(ResourceLocation pTagLocation) addTag
(ResourceLocation pTagLocation) build()
static TagBuilder
create()
boolean
replace()
replace
(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.common.extensions.ITagBuilderExtension
getRawBuilder, remove, removeElement, removeElement, removeTag, 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()
-