MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
19 stars 7 forks source link

[Feature Request] Preset support for teams to allow NPCs to attack each others #184

Open mcmdarcs2 opened 4 months ago

mcmdarcs2 commented 4 months ago

Hi Markus, I wanna inform a bug that occurs with preset though it works with npc spawn. I just created team (faction) in command for different types of NPC then I saved it with preset but this happened: https://youtu.be/-PA4hhAqHXk It will be grateful if you fix this bug or find another method to make them aggressive towards other types of NPC. Thanks (The NPC animation im currently using is Epic Fight datapack combined with your mod)

MarkusBordihn commented 4 months ago

Thanks a lot for the detailed report. Unfortunately this is expected and not really a "bug".

Each entity in the world has a unique id, to be able to spawn the same type of NPC each of these NPC needs to have a different id. By using the team command you simple tell the game this specific id belongs to this team. If you spawn a new NPC, the game doesn't know this new id or to which team it belongs to.

For this reason I need to add support for "teams" so that the NPC automatically joins the team on his spawn.

mcmdarcs2 commented 4 months ago

oh ok, I'll wait for the next update

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.