Package net.minecraft.tags
Class Tag.ElementEntry
java.lang.Object
net.minecraft.tags.Tag.ElementEntry
- All Implemented Interfaces:
Tag.Entry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> boolean
build(Function<ResourceLocation,Tag<T>> p_13355_, Function<ResourceLocation,T> p_13356_, Consumer<T> p_13357_)
boolean
void
serializeTo(com.google.gson.JsonArray p_13353_)
toString()
boolean
verifyIfPresent(Predicate<ResourceLocation> p_144387_, Predicate<ResourceLocation> p_144388_)
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, visitRequiredDependencies
-
Field Details
-
id
-
-
Constructor Details
-
ElementEntry
-
-
Method Details
-
build
public <T> boolean build(Function<ResourceLocation,Tag<T>> p_13355_, Function<ResourceLocation,T> p_13356_, Consumer<T> p_13357_) -
serializeTo
public void serializeTo(com.google.gson.JsonArray p_13353_)- Specified by:
serializeTo
in interfaceTag.Entry
-
verifyIfPresent
public boolean verifyIfPresent(Predicate<ResourceLocation> p_144387_, Predicate<ResourceLocation> p_144388_)- Specified by:
verifyIfPresent
in interfaceTag.Entry
-
toString
-
equals
-