I need help with this

  • 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!

Meggy_Mode

Active Member
Aug 30, 2024
206
8
18
I need help testing this small skript I made using skbee 3.6 I don't have access to a server environment so I cant manually test this.
Python:
on load:
    set {shard-1} to prismarine shard named "&r&l&bIce Shard" with lore "&7A hardend shard of ice"


    register new shaped recipe for prismarine shard named "&r&l&bIce Shard" using ice, packed ice, ice, packed ice, diamond, packed ice, ice, packed ice, and ice with id "c_shard-1"

    set {armor-sets::head} to leather helmet named "Ice Chestplate"

    loop {armor-sets::*}:
        apply attribute modifier to loop-value:
            attribute: generic.attack_damage
            id: "minecraft:custom_1746326446257"
            slot: armor_slot_group
            amount: 5
            operation: add_number
        apply attribute modifier to loop-value:
            attribute: generic.armor
            id: "minecraft:custom_1746326473380"
            slot: armor_slot_group
            amount: -4
            operation: add_number
        apply attribute modifier to loop-value:
            attribute: generic.armor_toughness
            id: "minecraft:custom_1746326483289"
            slot: armor_slot_group
            amount: -8
            operation: add_number

    register new shaped recipe for leather helmet named "Ice Chestplate" using blue ice, air, blue ice, blue ice, {shard-1}, blue ice, blue ice, blue ice, and blue ice with id "hat-1"
 
I tested this yesterday, fixed some errors but it doesn't work. Everything seems correct but I just couldn't get it to work.