接口 ICondition.IContext
- 所有已知实现类:
ConditionContext
- 封闭接口:
- ICondition
public static interface ICondition.IContext
-
字段概要
字段 -
方法概要
修饰符和类型方法说明<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.
-
字段详细资料
-
EMPTY
-
TAGS_INVALID
-
-
方法详细资料
-
getTag
Return 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.
-