Rain Be Gone Ritual (Fabric)

Rain Be Gone Ritual (Fabric)

229k Downloads

[Bug] Multiple bees spawn when using bottle of bees

GeorgeOrwell1 opened this issue · 9 comments

commented

Information

Minecraft version: 1.16.5
Forge version: 36.2.2
Environment: Singleplayer and Multiplayer

Mod name: The Vanilla Experience / Realistic Bees
Mod version: 1.3

Description

When emptying/using a bottle of bees from the Buzzier Bees mod, instead of just spawning one bee, if I have Realistic Bees (via TVE) installed it spawns about five of them. This happens in both creative mode and survival mode. See video for visualization:

2021-08-08.12-43-06_Trim.mp4

Edit: This also happens when summoning bees either by a command or via a spawn egg.

commented

Response from linked issue from @bageldotjpg:

This seems like something that should be fixed on Realistic Bees' end, because it could cause issues for just about any mod that spawns bees for something. Realistic Bees should instead check the SpawnReason when a bee is spawned to make sure it is natural rather than duplicating all bee spawns.

In other words, only if the bee was spawned because of SpawnReason.CHUNK_GENERATION or SpawnReason.NATURAL should Realistic Bees duplicate the spawned bee.

commented

Does the same occur if using a spawn egg to spawn bees? In other words, does using a bee spawn egg spawn 5 bees instead of the expected 1?

commented

Does the same occur if using a spawn egg to spawn bees? In other words, does using a bee spawn egg spawn 5 bees instead of the expected 1?

Yes; if I use a spawn egg, I also spawn five bees instead of one.

commented

Can you please try running the following command? /summon bee
How many bees do you get (1 as expected, or 5)?

commented

I currently don't have access to my computer, will test when I come home.

commented

Yes, this also happens when using the /summon command.

commented

Can you please try running this command instead?
/summon minecraft:bee ~ ~ ~ {Tags:["realisticbees.ignorebee"]}
Do you still get 5 bees, or is it 1 bee this time?

commented

When using that command I only summon one bee.

commented

Thanks for submitting the bug report and using the mod! This has been fixed in version 2.0 of Realistic Bees. It now prevents multiple mob spawns when a player is within a 5 block radius of the spawn. This will fix breeding and the bottle of bees.

I couldn't use SpawnReason because it's not fired for bee spawns. But this should fix the problem you were having!

Oh and also-- tiny bees have been added.

https://www.curseforge.com/minecraft/mc-mods/realistic-bees