Custom Recipe Stack Size

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Comet

Member
Feb 27, 2025
4
0
1
Hello, I am making a server and would like to make a custom item. This custom item would be something such as "Enchanted Bone" to craft such bone I would like you to have a 3x3 grind in the crafting table filled up with bones. My current code shows no errors but, only takes one out.
on load:
set {_enchantedbone} to bone of unbreaking 1 named "&8&lEnchanted Bone" with lore "&7&lRattles When you Walk" with item flag hide enchants with item flag hide unbreakable with item flag hide attributes
register new shaped recipe for {_enchantedbone} using 16 bone, 16 bone, 16 bone, 16 bone, 16 bone, 16 bone, 16 bone, 16 bone and air with id "enchantedbone"
 

Attachments

  • Screenshot 2025-03-03 175958.png
    Screenshot 2025-03-03 175958.png
    7.4 KB · Views: 116
it is not tested but might work. also are you using skbee other wise this wont work

Code:
on load:
    set {_enchantedBone} to bone of unbreaking 1 named "&8&lEnchanted Bone"
    set lore of {_enchantedBone} to "&7&lRattles When you Walk"

    register new shaped recipe for {_enchantedBone} using
        16 of bone, 16 of bone, 16 of bone,
        16 of bone, 16 of bone, 16 of bone,
        16 of bone, 16 of bone, air
        with id "enchantedbone"