MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

[Bug] Modded ranged weapons efficiency #159

Closed mcmdarcs2 closed 7 months ago

mcmdarcs2 commented 7 months ago

NPCs did not shoot modded bow and crossbow although they can shoot using normal weapons

Here's the bug: https://youtu.be/hYvhL4RHDEY I'm using modded bows from Epic Knight and Spartan Weaponry. When I put a vanilla bow on NPC main hand as a weapon they can shoot off. Thanks if you reply

MarkusBordihn commented 7 months ago

Thanks for the feedback. I added support for modded bows and crossbows in my developer builds.

image

As soon this is released the developers or yourself can add all kinds of bows and crossbows over a simple .json file like:

{
  "replace": false,
  "values": [
    "minecraft:crossbow",
    {
      "id": "spartanweaponry:wooden_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:iron_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:gold_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:diamond_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:netherite_heavy_crossbow",
      "required": false
    }
  ]
}

I will add the corresponding documentation with the next release.

mcmdarcs2 commented 7 months ago

Thanks for the feedback. I added support for modded bows and crossbows in my developer builds.

image

As soon this is released the developers or yourself can add all kinds of bows and crossbows over a simple .json file like:

{
  "replace": false,
  "values": [
    "minecraft:crossbow",
    {
      "id": "spartanweaponry:wooden_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:iron_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:gold_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:diamond_heavy_crossbow",
      "required": false
    },
    {
      "id": "spartanweaponry:netherite_heavy_crossbow",
      "required": false
    }
  ]
}

I will add the corresponding documentation with the next release.

np, btw I added a new post about new requests. You can add one of 3 features if possible