Package net.minecraft.tags
Class Tag.TagEntry
java.lang.Object
net.minecraft.tags.Tag.TagEntry
- All Implemented Interfaces:
Tag.Entry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> boolean
build
(Function<ResourceLocation, Tag<T>> p_13389_, Function<ResourceLocation, T> p_13390_, Consumer<T> p_13391_) boolean
getId()
void
serializeTo
(com.google.gson.JsonArray p_13387_) toString()
boolean
verifyIfPresent
(Predicate<ResourceLocation> p_144404_, Predicate<ResourceLocation> p_144405_) void
visitRequiredDependencies
(Consumer<ResourceLocation> p_144402_) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.tags.Tag.Entry
visitOptionalDependencies
-
Field Details
-
id
-
-
Constructor Details
-
TagEntry
-
-
Method Details
-
build
public <T> boolean build(Function<ResourceLocation, Tag<T>> p_13389_, Function<ResourceLocation, T> p_13390_, Consumer<T> p_13391_) -
serializeTo
public void serializeTo(com.google.gson.JsonArray p_13387_) - Specified by:
serializeTo
in interfaceTag.Entry
-
toString
-
equals
-
getId
-
verifyIfPresent
public boolean verifyIfPresent(Predicate<ResourceLocation> p_144404_, Predicate<ResourceLocation> p_144405_) - Specified by:
verifyIfPresent
in interfaceTag.Entry
-
visitRequiredDependencies
- Specified by:
visitRequiredDependencies
in interfaceTag.Entry
-