Interface ICondition.IContext
- All Known Implementing Classes:
ConditionContext
- Enclosing interface:
- ICondition
public static interface ICondition.IContext
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Map<ResourceLocation,
Tag<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.Return the requested tag if available, or an empty tag otherwise.
-
Field Details
-
EMPTY
-
-
Method Details
-
getTag
Return the requested tag if available, or an empty tag otherwise. -
getAllTags
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.
-