Skip to content

Trouble with the using replaceitem command if a custom name tag is added #33

@MysteryTimeTrav

Description

@MysteryTimeTrav

Hi, I'm having trouble with formatting this items actions as this doesn't seem to be valid.

MultiroleRight:
item:
type: FEATHER
name: "&a&lMultirole RIGHT"
lore: [ "&1Right click to get the bank right head" ]
glow: false
consumed: false
cooldown: 2
actions:
- { action: COMMAND, by: CONSOLE, command: "minecraft:replaceitem entity @A armor.head minecraft:carved_pumpkin{display:{Name:'{"text":"Multirole"}'}}" }

This however is valid so I'm thinking it's an issue with the brackets though I cant change them because of the command format necessary to be executed

actions:
  - { action: COMMAND, by: CONSOLE, command: "minecraft:replaceitem entity @a armor.head minecraft:carved_pumpkin" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions