HomeJavaDatapacksPeaceful Bees
Peaceful Bees
DatapacksJava

Peaceful Bees

by DRECUBED · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11–26.2 · Data pack⬇ Download for 1.21.7–1.21.8 · Data pack⬇ Download for 1.21.6 · Data pack⬇ Download for 1.21.11–26.2 · Fabric⬇ Download for 1.21.11–26.2 · Forge⬇ Download for 1.21.11–26.2 · NeoForge⬇ Download for 1.21.11–26.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

The words "peaceful bees" displayed in large blocky letters. Below, in smaller text, are the words "makes bees friendly to all players". There are two flying bees beside the words.

UPDATED TO Release v1.1.0 🥰


Primary Features


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"

Select Between Beehavior Modes & Methods:

  1. Disabling Bee Aggro Entirely (Default) 😌
    • This is the default Beehavior mode - if this is the Beehavior you want, no config is necessary!
    • Setting in dialog is: "Bees Will Not Aggro Any Entity (Data Mode)"

2. **Disabling Bee Aggro Towards Players Only 👀💢**
There are two modes that produce this Beehavior: - Team Mode: This is the most optimal/efficient implementation TPS wise
(though this pack has little to no TPS impact in general) - 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.
(So try to use Team Mode for the most seemless feel, but swap to Data Mode if anything seems to not be working right!) - In dialog: "Bees Will Not Aggro Players (Team Mode)" & "Bees Will Not Aggro Players (Data Mode)"

Additional Config Dialog Options:

  • 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


Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more