Rendering ItemStack with non-zero count affects coloring of text rendered after
codetaylor opened this issue ยท 1 comments
Text with the green color for $(thing)
rendered after an ItemStack with a non-zero quantity renders brighter than normal.
Above, both the left and right hand text are rendered after and are brighter.
Above, the RIGHT SIDE TEXT
on the left is rendered before and with the proper color.
The template:
{
"components": [
{
"type": "item", "item": "minecraft:gravel#8"
},
{
"type": "text",
"guard": "#text->exists",
"text": "#text",
"y": 45
}
]
}
The entry:
{
"name": "Test",
"icon": "minecraft:paper",
"category": "survive",
"pages": [
{
"type": "test",
"text": "$(#490)LEFT SIDE TEXT"
},
{
"type": "text",
"text": "$(#490)RIGHT SIDE TEXT"
},
{
"type": "text",
"text": "$(#490)RIGHT SIDE TEXT"
},
{
"type": "test",
"text": "$(#490)LEFT SIDE TEXT"
}
]
}