CRAFTANDWAIT
CRAFTANDWAIT(<item[:id]>,[amount],[throw],[verbose])
Type: Action
Category: GUI
Permission: mod.macros.script.craft.craftandwait
Since Minecraft Version: v1.3
Since Version: v0.9.1
Minor: 9
API: 4
Patch: 1
Description
Queues an auto-crafting request and waits for it to complete
Example
// Crafts only once
CRAFTANDWAIT("planks")
// Crafts 12 planks
CRAFTANDWAIT("planks",12)
// Crafts 12 planks and throws it on the ground
CRAFTANDWAIT("planks",12,true)
// Logs additional messages to the chat window
CRAFTANDWAIT("planks",12,false,true)
Useful Links
Changelog
- Added em v0.9.1:
- Updated em v0.12.1: Available again
- Updated em v0.11.3: New internal algorithm
- Fixed em v0.9.9: Recipes with wildcard block types work now
- Fixed em v0.9.4: Parses variables correctly