mojira.dev
MC-165031

Recipe book groups can run off-screen when there are too many entries

Creating a datapack with lots of recipes in the same group will cause the recipes to run off-screen when the group is opened using right-click.

Steps to Reproduce:

  1. Install the following datapack into your world:

[media]
  1. Grant all recipes:

    /recipe give @s *
  2. Set GUI scale to it's highest allowed value

  3. Open a crafting bench, with a clay block in your inventory

  4. Right click on the dirt block crafting recipe group to expand it

Observed Behavior:

The group will run off the screen, and some recipes will not properly be visible.

Expected Behavior:

The recipes would account for the GUI scale, and the amount of recipes, and properly adjust itself in some form to allow all recipes to be visible.

Screenshots/Videos:

[media]

Notes:

  1. May relate to similar issues about the recipe book, such as; MC-124968 MC-124975 MC-126153 MC-125972

  2. May also relate to other issues about UI elements running off screen: MC-238712 MC-262606 MC-263968 MC-270270 MC-265292

Linked issues

Attachments

Comments 3

Could you provide an example data pack that could be used to test this issue?

[media]

. The exact point where the overflow starts depends on resolution and GUI scale, so I created a datapack that overflows the screen even at 1080p with 1x GUI scale. The recipes are all the same in this example: 1 clay block ==> 1 dirt,

Can confirm in 1.20.5 Pre-Release 1. I'd like to request ownership of this issue, because it has not been maintained and the datapack no longer functions (I've made a fixed version)

[media]

jummy

[Mod] Jingy

(Unassigned)

Confirmed

UI

recipe, recipe-book, recipe-group

1.14.4, 19w44a, 1.16.4, 1.20.4, 1.20.5 Pre-Release 1, 1.20.5

Retrieved