<recipe name="resourceConcreteMix" count="100" craft_area="cementMixer" tags="cementMixerCrafting">
<ingredient name="resourceCrushedSand" count="100"/>
<ingredient name="resourceRockSmall" count="100"/>
<ingredient name="resourceCement" count="100"/>
</recipe>
Your way is amateurish. My way is professional and better:Gouki said:I have finished the mod, if you are interested here is the code.
This deletes the recipe and puts it back but with the crafting time at 4 seconds (original 13 seconds), you can change it according to your criteria.
Regards
<Gouki>
<remove xpath="/recipes/recipe[@name='resourceConcreteMix']"/>
<append xpath="/recipes">
<recipe name="resourceConcreteMix" count="1" craft_time="4" craft_area="cementMixer" tags="cementMixerCrafting">
<ingredient name="resourceCrushedSand" count="1"/>
<ingredient name="resourceRockSmall" count="1"/>
<ingredient name="resourceCement" count="1"/>
</recipe>
</append>
</Gouki>
View attachment 17007
<setattribute xpath="//recipe[@name='resourceConcreteMix']" name="craft_time">200</setattribute>
Your way is amateurish. My way is professional and better:
<setattribute xpath="//recipe[@name='resourceConcreteMix']" name="craft_time">200</setattribute>
Cleaner and saferA 'cleaner' way i would say CrazyAluminium ..... there are multiple ways to accomplish the same goal in Xpath so if it works it works whatever but not amateurish just different.
Ragsy !!