Peaceful Bees
Makes bees passive, preventing them from attacking players regardless of world difficulty!
Peaceful Bees

UPDATED TO Release v1.1.0 🥰
Primary Features
- Makes bees peaceful, making them no longer willing to attack players nor mobs!<br> <sup>(want it to be just players? see below!)<sup> - *that's all! enjoy your peaceful beekeeping :D*
Additional Features (Release v1.1.0)
Includes new (totally optional) configuration dialog! accessible by clicking the reload message in chat or running "/dialog show @s peaceful_bees:config"
Disabling Bee Aggro Towards Players Only 👀💢 1. Disabling Bee Aggro Towards Players Only 👀💢 - Disabling Bee Aggro Towards Players Only 👀💢 - if this is the Beehavior you want, no config is necessary! - Setting in dialog is: "Bees Will Not Aggro Any Entity (Data Mode)" <br> 2. Disabling Bee Aggro Towards Players Only 👀💢<br> There are two modes that produce this Beehavior: - Team Mode: This is the most optimal/efficient implementation TPS wise<br> <sup>(though this pack has little to no TPS impact in general)<sup> - Data Mode: Functionally presents the exact same way as Team Mode, just requires additional logic to run - this mode exists to circumvent any conflicts with other packs/mods.<sup><br>(So try to use Team Mode for the most seemless feel, but swap to Data Mode if anything seems to not be working right!)<sup> - In dialog: "Bees Will Not Aggro Players (Team Mode)" & "Bees Will Not Aggro Players (Data Mode)"
(harvesting a hive/nest without smoke wont aggro the bees either way!) - Toggle on/off the pack reload message - Toggle on/off bees briefly exiting when their hive/nest when it is harvested without smoke during night/rain (harvesting a hive/nest without smoke wont aggro the bees either way!)
---
*Thx for checking out my datapack! - DRE*
Release Version 1.0.0 (Minecraft 1.21.6-8)
Spoiler
- This datapack is configurable between the two modes listed below depending on your world's optimal use case *(by default it will use team mode - if that works for you, you don't have to change anything)* - TEAM MODE - Uses the team command to place players and bees on the same team to disable the bee aggro AI towards players - Ticks per player via a location advancement (once per second) - DATA MODE - Mannually modifies the entity data of all bees within a 32 block radius of any player to immediately take them out of the angry state should they become aggro'd - Ticks per player via a tick advancement (twenty times per second) - *Useful is your world has conflicts with the team command (entities can only be on one team at a time) - or if you dont want bees to attack ANY mob, not just players*
To Swap Between Team and Data Mode...
To swap to data mode: > /function peaceful_bees:switch_to_data_mode
To swap to team mode (default): > /function peaceful_bees:switch_to_team_mode
Contact
feel free to reach out with any issues/inquiries at: drecubed.contact@gmail.com