StackMob-5 icon indicating copy to clipboard operation
StackMob-5 copied to clipboard

Fire Aspect & 1.21

Open Tomographix opened this issue 1 year ago • 6 comments

Hi, The Fire Aspect doesn't seem to work on stacked mobs in 1.21.

Running:

  • PaperSpigot 1.21 (Latest build as of 15 July
  • StackMob 5.9.1

Tomographix avatar Jul 15 '24 07:07 Tomographix

What exactly isn't working?

ploppyperson avatar Jul 15 '24 11:07 ploppyperson

Fire Aspect is a vanilla Minecraft sword enchantment that sets the target on fire. When a mob that normally drops raw meat is killed while it is burning, or if a mob is killed in one shot, even if it is in water, it drops cooked meat.

In this situation, if you kill a stack of 200 pigs & 90% of the drops are raw porkchops when they should be 100% cooked porkchop - or at least this is how it worked prior to 1.21.

Tomographix avatar Jul 15 '24 12:07 Tomographix

I can only reproduce this when a mob is in rain. Is this the same for you?

ploppyperson avatar Jul 15 '24 17:07 ploppyperson

Ah no, rain is actually disabled on the server. Have got a short video here on Imgur: https://i.imgur.com/EdnbjZF.mp4

Tomographix avatar Jul 16 '24 02:07 Tomographix

Yeah so after some more testing seems to be that if you kill the mob in one hit then fire aspect doesn't apply, but if there are two hits it works fine... This may be a craftbukkit bug but needs further looking into.

Temp fix would be to disable use of loot tables in config.

ploppyperson avatar Jul 16 '24 15:07 ploppyperson

Thanks for the bug report. There is a temp fix in cde56de, although whether this is actually a craftbukkit bug is uncertain since this is seems to be result of Mojangs changes.

ploppyperson avatar Jul 18 '24 11:07 ploppyperson