Im using SkBee to make custom crafting recipes. I want to grab stacked items (like the image shown below) in the crafting table to only make 1 of the item. How would i do this?
My Skript:
My Skript:
Code:
on load:
# Coal Drill Lvl 1
set {_loc} to location(184.5, 5.5, -252.5, world("Blocks"))
set {_nbt} to nbt of block at {_loc}
set {_item} to player head named "&eCoal Drill &8[&71&8]" with nbt "%{_nbt}%"
set {_previousitem} to {_item}
register new shaped recipe for {_item} using coal, coal, coal, coal, wooden pickaxe, coal, coal, coal, and coal with id "coal_drill_lvl_1"
# Coal Drill Lvl 2
set {_loc} to location(185.5, 5.5, -252.5, world("Blocks"))
set {_nbt} to nbt of block at {_loc}
set {_item} to player head named "&eCoal Drill &8[&72&8]" with nbt "%{_nbt}%"
register new shaped recipe for {_item} using coal, coal, coal, coal, {_previousitem}, coal, coal, coal, and coal with id "coal_drill_lvl_2"
set {_previousitem} to {_item}