Interface ICondition.IContext
- All Known Implementing Classes:
- ConditionContext
- Enclosing interface:
- ICondition
public static interface ICondition.IContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ICondition.IContextstatic final ResourceLocationstatic final ICondition.IContext
- 
Method SummaryModifier and TypeMethodDescription<T> Map<ResourceLocation,Collection<Holder<T>>> getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.default <T> Collection<Holder<T>>Return the requested tag if available, or an empty tag otherwise.
- 
Field Details- 
KEY
- 
EMPTY
- 
TAGS_INVALID
 
- 
- 
Method Details- 
getTagReturn the requested tag if available, or an empty tag otherwise.
- 
getAllTags<T> Map<ResourceLocation,Collection<Holder<T>>> getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. Note that the map and the tags are unmodifiable.
 
-