Package net.minecraft.tags
Interface Tag.Entry
- All Known Implementing Classes:
Tag.ElementEntry
,Tag.OptionalElementEntry
,Tag.OptionalTagEntry
,Tag.TagEntry
public static interface Tag.Entry
-
Method Summary
Modifier and TypeMethodDescription<T> boolean
build(Function<ResourceLocation,Tag<T>> p_13360_, Function<ResourceLocation,T> p_13361_, Consumer<T> p_13362_)
void
serializeTo(com.google.gson.JsonArray p_13359_)
boolean
verifyIfPresent(Predicate<ResourceLocation> p_144390_, Predicate<ResourceLocation> p_144391_)
default void
visitOptionalDependencies(Consumer<ResourceLocation> p_144392_)
default void
visitRequiredDependencies(Consumer<ResourceLocation> p_144389_)
-
Method Details
-
build
<T> boolean build(Function<ResourceLocation,Tag<T>> p_13360_, Function<ResourceLocation,T> p_13361_, Consumer<T> p_13362_) -
serializeTo
void serializeTo(com.google.gson.JsonArray p_13359_) -
visitRequiredDependencies
-
visitOptionalDependencies
-
verifyIfPresent
boolean verifyIfPresent(Predicate<ResourceLocation> p_144390_, Predicate<ResourceLocation> p_144391_)
-