Member
Level 21
Expert Mage
3

Forum Posts

1 - 2 of 2

    _Hardlight_
    • 04/01/2023 4:59 pm
    • Level 21 : Expert Mage
    typo
    1
    _Hardlight_
    • 01/12/2023 4:37 pm
    • Level 21 : Expert Mage
    it did help to understand what the "matches" means exactly. The line of code you suggested had issues with the "@s", I'm not sure why but it was not able to target the spiders. However, I was able to make some progress with the advice you gave

    /execute as @e[type=spider] if score @s[type=spider] webtimer matches 5 run setblock ~ ~ ~ minecraft:cobweb

    This line of code here is able to place at the players location when the webtimer is 5. Now I need to figure how to get it to target the spiders and place webs at their location

    Thanks for all of your help
    2

1 - 2 of 2

Welcome