Skip to content

mecha: [] not supported with nested resources #491

@devicals

Description

@devicals

Beet doesn't understand item modify for some reason?

Any code that uses the item modify command will be flagged as incorrect by beet because apparently it expects a resource location?

A simple command such as item modify entity @s armor.feet [{function:"minecraft:set_components",components:{"minecraft:equippable":{slot:"feet",asset_id:"minecraft:netherite"}}}] is completely correct and works in-game, but beet will believe it is incorrect and furthermore there is no way to make it ignore this error and build it the way it is.


The specific error beet gives is: ERROR | mecha Expected identifier, nested_location or resource_location but got literal '[{function'.

(I say "Beet or Bolt" in the title because obviously I'm using bolt with beet and I'm not sure if it's because of bolt that beet is giving this issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmechaissues related to mecha

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions