# Fabric Resource Conditions ## Fabric Conditions from Respackopts A json object containing a singular entry whose key is `fabric:load_conditions` will be treated as a Fabric Resource Condition. Example: ```json { "condition": { "fabric:load_conditions": { "condition": "fabric:not", "value": { "condition": "fabric:all_mods_loaded", "values": [ "a" ] } } } } ``` ## Respackopts conditions from Fabric You may access respackopts conditions from Fabric API Resource Condition blocks by specifying a condition with the ID `config`. Its value will be treated as a respackopts condition. Please be aware that fabric resource conditions are not tied to resource packs and entry IDs must therefore be specified fully. (Using `someTexture` instead of `examplePack:someTexture` is impossible) Example: ```json { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:stick" } ], "result": { "item": "minecraft:diamond" }, "fabric:conditions": [ { "condition": "fabric:not", "value": { "condition": "respackopts:config", "value": { "and": [ "examplePack:someTexture" ] } } } ] } ```