You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function is used to check if all the additional conditions are true.
Context:
This function needs to run as the root of the multiblock instance you want inspect.
Note
You can use the selector @e[type=minecraft:block_display,tag=<namespace>-<multiblock_id>,tag=mtb.root] to find the root
Return:
conditions met: 1 if all conditions are met, else fail
Example:
# Run a particle command while the multiblock is completed (run as the multiblock root)executestoreresult#conditionstemprunfunction#mtb-generated:tech_datapack/industrial_furnace/check_conditionsexecutestoreresult#progresstemprunfunction#mtb-generated:tech_datapack/industrial_furnace/get_progressexecutestoreresult#block_counttemprunfunction#mtb-generated:tech_datapack/industrial_furnace/get_block_countexecuteifscore#conditionstempmatches1ifscore#progresstemp=#block_counttemprunparticlehappy_villager~~~