Enhanced Mob Spawners

Enhanced Mob Spawners

4M Downloads

[1.16.3] Log Spam with specific Spawn Eggs

realTIMematrix opened this issue · 2 comments

commented

Hi,

I really like your mod because I like the feature to "capture" a mob spawner and place it where I like it without being overpowered at all. But there is a bug in minecraft (not your mod) and I hope you can help to fix this until Mojang releases 1.17.

The problem is within minecraft when you use a specific spawn egg on a vanilla spawner with mobs which can be angered. Then Minecraft produces a ton of messages and spam your log.

The following spawn eggs are affected:

  • Bee Spawn Egg
  • Enderman Spawn Egg
  • Polar Bear Spawn Egg
  • Wolf Spawn Egg
  • Zombified Piglin Spawn Egg
  • Iron Golem Spawn Egg (from your mod)

I'm using:

  • Minecraft: 1.16.3
  • Forge: 34.0.9
  • Branders-Spawnermod-1.16.3-1.6.6

Possible Solutions:

  • Enable/Disable specific Spawn Eggs?
  • Enable/Disable specific Mob from dropping their spawn eggs?
  • Implementing the code from Draylar in your mod?

Sources:
Minecraft Bug Tracker

A Fabric Mod that fixes the problem:
Angerable Patch

Maybe you have other ideas for a workaround?

I'm happy to hear from you :-)

commented

Thanks for the report. Will look into it soon

commented

@realTIMematrix The bug has now been fixed. The solution was via Mixins just like the Fabric Mod but with a slight variation. Thanks for the well structured report.

Updated mod file:
https://www.curseforge.com/minecraft/mc-mods/enhanced-mob-spawners/files/3065370