Package net.minecraft.tags
Class ITag.TagEntry
java.lang.Object
net.minecraft.tags.ITag.TagEntry
- All Implemented Interfaces:
ITag.ITagEntry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> boolean
build
(Function<ResourceLocation, ITag<T>> p_230238_1_, Function<ResourceLocation, T> p_230238_2_, Consumer<T> p_230238_3_) boolean
getId()
void
serializeTo
(com.google.gson.JsonArray p_230237_1_) toString()
-
Field Details
-
id
-
-
Constructor Details
-
TagEntry
-
-
Method Details
-
build
public <T> boolean build(Function<ResourceLocation, ITag<T>> p_230238_1_, Function<ResourceLocation, T> p_230238_2_, Consumer<T> p_230238_3_) - Specified by:
build
in interfaceITag.ITagEntry
-
serializeTo
public void serializeTo(com.google.gson.JsonArray p_230237_1_) - Specified by:
serializeTo
in interfaceITag.ITagEntry
-
toString
-
equals
-
getId
-