Jump to content

SilentSforce

Members
  • Posts

    7
  • Joined

  • Last visited

SilentSforce's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. nope, it works if it's the base mob and nothing else. but i need it to target a specific enitity.
  2. this is alright in theory, however using location won't work since the entity could move away from the location. Additionally there are other entities of the same type, but with different nbt data.
  3. Alright, I'll do it tomorrow so that I don't die from exhaustion first though.
  4. That's the site I used for the base files, but i'm editing in visualstudio since it's with modded items and armours. I think there is a workaround with detecting the mainhand weapon of the entity, however this requires them to have a weapon. I'll test pasting the entire nbt data into there. Is it possible to do it via the name of the entity?
  5. Thanks, I'm currently using a generator for it and referencing with vanilla advancement .jsons. How does KilledTrigger work in this context?
  6. Hi, I was wondering if anyone knows how to progress an advancement for killing a specific entity with nbt data. I know there is an "nbt" option under "type", but i'm not quite sure what to put in it to have it work. Any help is appreciated thanks! For reference, the entity is a stray with custom armour, custom name and a custom weapon. P.s Here's what i've got at the moment. { "__comment": "killing osthir advancement", "display": { "title": { "text": "Last Prince of Cardolan", "color": "gold" }, "description": { "text": "Return the last Prince to his eternal slumber" }, "icon": { "item": "lotr:arnor_sword" }, "frame": "challenge", "show_toast": true, "announce_to_chat": true, "hidden": false }, "criteria": { "osthir": { "trigger": "minecraft:player_killed_entity", "conditions": { "entity": { "type": "minecraft:stray", "nbt": } } } }, "parent": "cmd:root" } (Also I know having blank nbt isn't correct, i'm just not sure about what should be there.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.