Altered trading price strike-through line is invisible with "Programmer Art" resource pack enabled
The bug
The "Programmer Art" resource pack doesn't include a texture for the strike-through line used for altered prices in the trading GUI.
To reproduce
- Enable the "Programmer Art" resource pack
- Trade with a villager until it gives you a discount, or punch a villager so that it increases its prices
There will be two prices, none of them is striked through
Linked Issues
Created Issue:
Villagers sometimes have strange redundant numbers in them trade, which makes it impossible to trade.
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
Environment
Windows 7 32-bit
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
(It seems to have happened only to the unemployed villagers who have regained their jobs.)
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
(It seems to have happened only to the unemployed villagers who have regained their jobs.)
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
(It seems to have happened only to the unemployed villagers who have regained their jobs.)
![]()
Supplement: in their nbt,"minecraft:air" in their BuyB.
A part of nbt:
Offers: {Recipes: [{maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:potato", Count: 26b}, sell: \{id: "minecraft:emerald", Count: 1b}, xp: 2, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}, {maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:emerald", Count: 1b}, sell: \{id: "minecraft:bread", Count: 6b}, xp: 1, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}]}
The bug
The "Programmer Art" resource pack doesn't include a texture for the strike-through line used for altered prices in the trading GUI.
To reproduce
- Enable the "Programmer Art" resource pack
- Trade with a villager until it gives you a discount, or punch a villager so that it increases its prices
There will be two prices, none of them is striked through
Original description
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
(It seems to have happened only to the unemployed villagers who have regained their jobs.)
![]()
Supplement: in their nbt,"minecraft:air" in their BuyB.
A part of nbt:
Offers: {Recipes: [{maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:potato", Count: 26b}, sell: \{id: "minecraft:emerald", Count: 1b}, xp: 2, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}, {maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:emerald", Count: 1b}, sell: \{id: "minecraft:bread", Count: 6b}, xp: 1, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}]}
Windows 7 32-bit
Villagers sometimes have strange redundant numbers in them trade, which makes it impossible to trade.Altered trading price strike-through line is invisible with "Programmer Art" resource pack enabled
relates to
The bug
The "Programmer Art" resource pack doesn't include a texture for the strike-through line used for altered prices in the trading GUI.
To reproduce
- Enable the "Programmer Art" resource pack
- Trade with a villager until it gives you a discount, or punch a villager so that it increases its prices
There will be two prices, none of them is striked through
Original description
Sometimes the villagers have an redundant number in their second trading space,looks like it's for an invisible item.It makes players can't trade with him.
(It seems to have happened only to the unemployed villagers who have regained their jobs.)
![]()
Supplement: in their nbt,"minecraft:air" in their BuyB.
A part of nbt:
Offers: {Recipes: [{maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:potato", Count: 26b}, sell: \{id: "minecraft:emerald", Count: 1b}, xp: 2, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}, {maxUses: 8, buyB: {id: "minecraft:air", Count: 1b}, buy: \{id: "minecraft:emerald", Count: 1b}, sell: \{id: "minecraft:bread", Count: 6b}, xp: 1, uses: 0, priceMultiplier: 0.05f, rewardExp: 1b}]}


Second number is discount prise. Disable your resourse pack to see it right.
Yep, that second number is indeed a discount (or a higher price if you've hurt a villager or demand is high). The "minecraft:air" in the NBT is intended though; it just means that the second slot should be empty.
I'm more interested in why the first number isn't crossed out. For that reason: Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.
Once attached, the report will be reopened automatically.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
emmmmm it looks like in "programmer art" resourse ,villagers' gui haven't exp bar and crossed out number.
Ah, that's it, thanks. I edited that ticket so that it now is about that line missing in that resource pack.
Fixed in 19w13b because of the revamped trading UI. 2019-04-06_17.14.50.png