MatyrobbrtMods / MobCapturingTool

A Minecraft mod adding a mob capturing tool.
MIT License
2 stars 1 forks source link

[1.20.1, mod version 3.0.2] Capturing modded mobs with similar spawn behavior to the Wandering Trader deletes the mob. #6

Open SamHammie opened 9 months ago

SamHammie commented 9 months ago

Tested with MrCrayfish's Goblin Traders version 1.9.3, satisfy's [Let's Do] Vinery version 1.4.6, and SirJain's Perfect Plushies version 1.8.0.

Steps to reproduce:

  1. Use a Mob Capturing Tool on a modded Trader.
  2. Carry in your inventory for some time.
  3. Attempt to place Trader.
  4. πŸ¦€πŸš¨The Trader is gone!πŸš¨πŸ¦€

Expected behavior: You'd place the trader back into the world with the same data you'd captured it with, including the remaining time before it despawns being unchanged.

Actual behavior: The trader's time before despawning is either immediately set to 0 or continues ticking while captured and becomes negative, thus causing it to visually appear that you're not even placing anything, hence why I said that it gets deleted.