#how to remove sword from vex

12 messages · Page 1 of 1 (latest)

reef prism
#

Hi I'm wondering how to remove vex's sword

royal pebbleBOT
#
Thanks for asking your question!

Once you have finished, please close your thread.

gentle arch
#

It seems like the sword is applied through the minecraft:equipment component, which uses a loot table to give the entity items. Removing this component from the Vex's behavior should remove the sword.

reef prism
#

Lemme try that

#

This right

#

{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:iron_sword",
"weight": 1
}
]
}
]
}

#

And how would I remove it through this file 🤔

gentle arch
#

You could do it that way, but it would be easier to make removals from the vex's behavior instead of the loot table.

#

Honestly I'm not sure what constitutes an empty loot table. I guess one with zero pools?

#

Ah, empty entries exist. I suppose this would work:

{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "empty"
        }
      ]
    }
  ]
}
reef prism
#

One more question

#

Will he be able to attack still