Skip to content

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

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" }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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