#(netpex) How can I make "custom blocks" and reference them later? + Use them in modifyblock

10 messages · Page 1 of 1 (latest)

supple grove
#
stealingGloves:
    type: item
    display name: <aqua>Gloves
    material: paper
    lore:
        - <gray>Used to steal artifacts.
    mechanisms:
        unbreakable: true

Artifact1:
    type: item
    display name: <aqua>Artifact One
    material: decorated_pot
    lore:
        - <gray>Artifact One.
    mechanisms:
        unbreakable: true

Stealing_Artifact:
    type: world
    debug: true
    events:
        on player right clicks decorated_pot with:stealingGloves:
            - narrate <context.location.material>
            - determine cancelled passively
            - if <context.location.material> == <item[Artifact1]>:
                - actionbar "<gray>Artifact stolen."
                - playsound <player> sound:entity_leash_knot_place volume:1 pitch:1
                - modifyblock <context.location> air
                - wait 2s
                - modifyblock <context.location> <item[Artifact1]>
                - playsound <player> sound:block_decorated_pot_break volume:1 pitch:1
            - else:
                - actionbar "<gray>You cannot steal this item."
pallid lindenBOT
#

(netpex) How can I make "custom blocks" and reference them later? + Use them in modifyblock

pallid lindenBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

upbeat oak
#

Custom blocks with textures and wot not?

supple grove
upbeat oak
#

Flag the location when the block is placed and remove the flag when the block is removed

#

to identify the custom block

molten hullBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@supple grove