mojira.dev
MC-270009

Entities with the infested effect can spawn silverfish without actually being hurt

When an entity is hit with a source of damage that does not actually remove health, it is still possible for the entity to spawn silverfish. This issue was created, as the changelog states silverfish can be spawned when an entity is 'hurt', which is unclear as to whether the entity needs to actually take damage. Adding onto this, MC-270028 has recently been traiged.

Affected entities have a 5% chance to spawn 1-2 Silverfish when hurt

Steps to Reproduce:

  1. Encase an entity, with access to interact with it.

  2. Splash it with a splash potion of Infestation.

  3. Increase the tick rate to 200:

    /tick rate 200
  4. Either using a dispenser, your hand, or a snow golem, throw snowballs at it repeatedly.

Observed & Expected Results:

❌ - Eventually, the entity will spawn silverfish on it, despite the entity not being 'hurt'.
✔ - The entity would not spawn silver fish, as it didn't take damage. The current behavior interestingly allows 'infinite' silverfish spawning.

Screenshots/Videos:

[media]

Linked issues

Attachments

Comments 6

[MOD] Greymagic27

How can I spawn an entity with the infested effect?

This does not seem to be fixed in 1.20.5 Pre-release 1.

Behavior with shields has been fixed, but still happens with snowballs.

Here is a demonstration of the behavior still present with attacks like snowballs:

[media]

Despite the shulker not actually taking damage/being hurt, it still spawns silverfish.

Im sure that works as intended. You can see the wiki page about "Infested" status effect, its written there

[Mod] ManosSef

@unknown, the wiki is not official, and therefore not a reliable source either. Mojang has triaged this issue with a priority of "Important", so it is absolutely not intended.

[Mod] Jingy

kingbdogz

1216275

Confirmed

Expansion B

Important

Combat

infestation_effect, silverfish

24w13a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3, 1.20.6, 1.21 Pre-Release 2, 1.21.1, 1.21.3, 25w17a

1.20.5 Pre-Release 1

Retrieved