[Bug] Friendly Fire Small Incompatibility
RyoidenshiRyu opened this issue ยท 1 comments
๐ก Check the
Bug Tracker
and Crash Tracker before
reporting a new issue.
There you can find a lot of useful information and solutions for common problems.
Note:
Please make sure to fill out the following template to the best of your ability. This will help us
to identify and fix the issue faster.
Describe the bug ๐
Hello. I'm wanted to test NPC that I created with Easy NPC - Epic Fight mod support, but with Friendly Fire mod installed, owner (me) can't attack NPC without sneaking (even not all attacks are counting), but other players can.
I'm thinking that issue can be reproduced with Better Combat and vanilla combat too.
To Reproduce โ๏ธ
Steps to reproduce the behavior:
- Install mods:
- Easy NPC,
- Easy NPC - Epic Fight support,
- Epic Fight,
- Friendly Fire.
- Launch game, create world.
- Create NPC.
- Make it attackable.
- Try to attack it with any weapon.
- See that you can't do any damage without sneaking (also there is warning on screenshot).
- If on server: ask your friend to attack NPC, or launch second Minecraft window with another account and attack NPC.
- See that other players can attack NPC without sneaking, but you (owner) can't.
Expected behavior โ๏ธ
NPC should take damage when attacked by owner (for testing purposes).
Debugging ๐ ๏ธ
Before reporting an issue, please enable the debug mode over /easy_npc debug true
to get more
detailed information about the issue in the logs. Additionally, check if there is anything relevant
in the crash-reports, debug.log, and latest.log file.
Is the issue happening in combination with other mods? (If yes, please provide a full list) ๐งฉ
Additional context ๐
I'm installed Friendly Fire only for protecting pets from accidental damage, but that mod counts NPCs that I create the same way...
Thanks for the report. This is expected, because each NPC is owned by a player and so has an owner.
It seems you could disable the protection over datapacks directly with the Friendly Fire
mod itself:
Tags
This mod provides several datapack entity tags to help improve the configuration of the mod. Datapacks are a very flexible way to configure the game and allow players, servers, other mods, and modpacks to configure certain properties.
friendlyfire:bypass_pet - This is an item tag that allows items to bypass pet protections.
friendlyfire:bypass_all - This is an item tag that allows items to bypass all protections offered by the mod.
friendlyfire:general_protection - This is an entity tag that allows other mobs to be granted protection from combat damage.
However I don't see a friendlyfire:bypass_protection
as entity tag or so.
Please open a issue report with the Friendly Fire
mod developers with your expected behavior to get their insides on this.