Players complain that rabbits spawn anywhere there are carrots planted, then eat them. Plugins can't limit or disable this behavior unless a cancellable event is fired when it happens.
- Set up an event handler for EntityChangeBlock event which logs the entity type, original block type, and new block type.
- Place a single block of water where it will not flow anywhere.
- Surround it with soil, then plant carrots on that soil.
- Use bonemeal to force the carrots to maturity.
- Fence the soil in.
- Spawn lots of rabbits in the fenced area.
- Replace any carrots destroyed by the rabbit spawning step.
- Wait for carrots to start disappearing without any player interaction (due to rabbits eating them).
- Check logs.
Expected: Rabbits changing carrots to air appears in logs.
Actual: Nothing about rabbits in logs (possibly sheep, endermen and more situationally, but no rabbits).
|