Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

Bee pokemob in beehive duplication glitch #1136

Open DarthJohnyExe opened 11 months ago

DarthJohnyExe commented 11 months ago

Issue Description: Pokemobs occupying a full progress minecraft beehive (5/5 honey) will be rendered "invisible" and unable to continue gathering or to be recalled normally upon shearing the beehive with a dispenser block with shears in it. Using the /pokerecall all (recalling individually doesn't work and other args are untested) will proceed to recall the pokemobs that were in the hive but will also proceed to duplicate them.

What happens: Pokemobs inside a full beehive are unable to be recalled normally when the hive is sheared with a dispenser. The hive will be emptied completely: 0/5 honey, 0/3 bees. Honeycomb is dropped but pokemon become "invisible" and cannot continue to gather for honey or be recalled normally. Use of /pokerecall command is warranted. Using /pokerecall will recall the pokemobs that were in the hive but will also proceed to duplicate them. That is if you had 3 lvl 1 combee in the hive, once you recall it via command, you will get exact copies of those lvl 1 combee for a total of 6.

What you expected to happen: Be able to shear the beehive for honeycomb and pokemobs won't become invisible and continue to gather honey as normal. Recalling pokemon via /pokerecall command shouldn't duplicate pokemobs

Steps to reproduce:

  1. Have 3 pokemobs occupy a beehive Note: did not test with less than 3 occupants
  2. Wait until pokemobs have gathered enough for 5/5 honey progress
  3. place block facing towards beehive and place shears in it and a button on it to turn it on.
  4. Shear the beehive
  5. (Profit) Beehive will be completely emptied and honeycomb will be dropped
  6. Try recalling pokemobs normally. Note: Recalling them normally will fail
  7. Recall pokemobs via command. This should cause the duplication glitch. Note: recalling them individually should show "Nothing to recall" message. At least it did for me

Affected Versions

Have only used/tested in:

Thutmose commented 11 months ago

I ended up with only 3 combee after following these steps, I did notice a problem with where it ejects the bees however, so I will look into fixing that.

Can you confim that you only have those pokecube mods installed?

DarthJohnyExe commented 11 months ago

I can try testing it again. If it helps this was tested in a server environment where there was some slight lag that may have contributed to the pokemobs being duped

Yes I only have the most recent all in one of pokecube downloaded from curseforge, as well as the pokecube compat 1.18.2-1.0.5

I do have other mods installed but I didn't think it'd be necesary to mention them as the problem concerns a vanilla beehive