mojira.dev
MC-222060

Poisonous potatoes grant more hunger points than regular potatoes upon being eaten

The Bug:

Poisonous potatoes grant more hunger points than regular potatoes upon being eaten.

Steps to Reproduce:

  1. Obtain a potato and a poisonous potato.

  2. Switch into survival mode and give yourself the hunger effect by using the command provided below.

    /effect give @s minecraft:hunger 3 255
  3. Eat the regular potato and take note of how many hunger points are granted.

  4. Eat the poisonous potato and take note of how many hunger points are granted.

Observed Behavior:

Poisonous potatoes grant 2 hunger points and regular potatoes grant 1 hunger point.

Expected Behavior:

Poisonous potatoes would grant the same hunger points as potatoes.

Code Analysis:

Code analysis @unknown can be found in this comment.

Linked issues

Attachments

Comments 14

maybe poisonous potatoes have more calories than potatoes...

Can confirm, but it has always been like this. This is likely intended.

Can confirm in 21w14a.

Can confirm in 21w15a.

Can confirm in 1.17.

4 more comments

Can confirm in 1.19.

Can confirm in 1.19.2.

Can confirm in 1.19.3 and 23w03a

Somewhere between step 2 and step 3, you need to wait for the hunger effect to end.

NightCart44

(Unassigned)

Confirmed

Items

poisonous_potato, potato

1.16.5, 21w13a, 21w14a, 21w15a, 1.17, ..., 1.20 Pre-release 1, 1.20, 23w32a, 1.20.4, 1.21

Retrieved