-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.14
-
None
-
Unconfirmed
-
UI
The server can send up to 255 merchant offers to the client, however when scrolling through the offers in the merchant trades screen the scrollbar will go out-of-bounds as seen here: https://streamable.com/92nzv
The maximum number of trades appears to be 24 before the scrollbar starts overflowing.
Scrollbar appear fine with the following:
summon villager 0 16 0 {Offers:{Recipes:[{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:stone",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:granite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_granite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:diorite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_diorite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:andesite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_andesite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:grass_block",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dirt",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:coarse_dirt",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:podzol",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:cobblestone",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:oak_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:spruce_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:birch_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:jungle_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:acacia_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dark_oak_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:oak_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:spruce_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:birch_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:jungle_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:acacia_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dark_oak_sapling",Count:1b}}]}}
Scrollbar starts to overflow with:
summon villager 0 16 0 {Offers:{Recipes:[{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:stone",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:granite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_granite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:diorite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_diorite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:andesite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:polished_andesite",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:grass_block",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dirt",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:coarse_dirt",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:podzol",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:cobblestone",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:oak_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:spruce_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:birch_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:jungle_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:acacia_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dark_oak_planks",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:oak_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:spruce_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:birch_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:jungle_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:acacia_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:dark_oak_sapling",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:bedrock",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:sand",Count:1b}},{buy:{id:"clay_ball",Count:1b},sell:{id:"minecraft:red_sand",Count:1b}}]}}
- duplicates
-
MC-147819 Custom villager with large trades has scroll bar that goes outside GUI screen
- Resolved