Class ConditionContext
java.lang.Object
net.minecraftforge.common.crafting.conditions.ConditionContext
- All Implemented Interfaces:
- ICondition.IContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,Map<ResourceLocation, Collection<Holder<?>>>> private final TagManagerFields inherited from interface net.minecraftforge.common.crafting.conditions.ICondition.IContextEMPTY, KEY, TAGS_INVALID
- 
Constructor SummaryConstructors
- 
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.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.crafting.conditions.ICondition.IContextgetTag
- 
Field Details- 
tagManager
- 
loadedTags
 
- 
- 
Constructor Details- 
ConditionContext
 
- 
- 
Method Details- 
getAllTagspublic <T> Map<ResourceLocation,Collection<Holder<T>>> getAllTags(ResourceKey<? extends Registry<T>> registry) Description copied from interface:ICondition.IContextReturn 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.- Specified by:
- getAllTagsin interface- ICondition.IContext
 
 
-