#so… I’m making a gens server and the compressed items won’t work…

1 messages · Page 1 of 1 (latest)

sharp knot
#

Every time I break a block that’s supposed to give me a compressed block, it gives me all of the compressed blocks I have ready

        if event-block is Crying Obsidian:
        clear drops
        set {_drop} to crying obsidian named "&5&lCompressed Netherite Ingot Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player

on break:
        if event-block is Blue Glazed Terracotta:
        clear drops
        set {_drop} to blue glazed terracotta named "&9&lCompressed Lapis Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player
        
on break:
        if event-block is Light Blue Glazed Terracotta:
        clear drops
        set {_drop} to light blue glazed terracotta named "&b&lCompressed Diamond Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player
        
on break:
        if event-block is Lime Glazed Terracotta:
        clear drops
        set {_drop} to lime glazed terracotta named "&a&lCompressed Emerald Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player
        
on break:
        if event-block is Yellow Glazed Terracotta:
        clear drops
        set {_drop} to yellow glazed terracotta named "&e&lCompressed Gold Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player
        
on break:
        if event-block is Red Glazed Terracotta: 
        clear drops
        set {_drop} to red glazed terracotta named "&4&lCompressed Redstone Block"
        enchant {_drop} with mending 1
        give 1 of {_drop} to player```

There were some more but I left them out bc they were coded the exact same way
plain mango
#

you need to indent after each of the if statements