Package net.minecraftforge.common
Interface Tags.IOptionalNamedTag<T>
- All Known Implementing Classes:
StaticTagHelper.OptionalNamedTag
- Enclosing class:
- Tags
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.tags.Tag
Tag.Builder, Tag.BuilderEntry, Tag.ElementEntry, Tag.Entry, Tag.Named<T>, Tag.OptionalElementEntry, Tag.OptionalTagEntry, Tag.TagEntry
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the current state is defaulted.Methods inherited from interface net.minecraft.tags.Tag
contains, getRandomElement, getValues
-
Method Details
-
isDefaulted
boolean isDefaulted()Returns true if the current state is defaulted. This means we have connected to a server that does not contain this tag. The values referenced in this tag may be empty, or some values specified by the original tag creator.
-