The Bug:
Poisonous potatoes grant more hunger points than regular potatoes upon being eaten.
Steps to Reproduce:
Obtain a potato and a poisonous potato.
Switch into survival mode and give yourself the hunger effect by using the command provided below.
/effect give @s minecraft:hunger 3 255
Eat the regular potato and take note of how many hunger points are granted.
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.
maybe poisonous potatoes have more calories than potatoes...