"filled" override in bundle item model no longer allows for values above 1.0
Using a resource pack that changes the model of "overfilled" bundles (using the predicate filled>1.0) no longer works in 21w20a.
{
"parent": "item/generated",
"textures": {
"layer0": "item/bundle"
},
"overrides": [
{ "predicate": { "filled": 0.01 }, "model": "item/apple" },
{ "predicate": { "filled": 1.01 }, "model": "item/diamond" }
]
}
Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle
/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]}
/give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}
2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.
Linked Issues
Created Issue:
"filled" override in bundle item model no longer allows for values above 1.0
Using a resource pack that changes the texture of "overfilled" bundles (fullness>64 or filled>1.0) no longer works in 21w20a.
{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.
Using a resource pack that changes the
textureof "overfilled" bundles (fullness>64 or filled>1.0) no longer works in 21w20a.{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.Using a resource pack that changes the model of "overfilled" bundles (fullness>64 or filled>1.0) no longer works in 21w20a.
{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.
Using a resource pack that changes the model of "overfilled" bundles (
fullness>64 orfilled>1.0) no longer works in 21w20a.{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.Using a resource pack that changes the model of "overfilled" bundles (using the predicate filled>1.0) no longer works in 21w20a.
{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.
Using a resource pack that changes the model of "overfilled" bundles (using the predicate filled>1.0) no longer works in 21w20a.
{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/bundle_filled" }, { "predicate": { "filled": 1.01 }, "model": "item/bundle_overfilled" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.Using a resource pack that changes the model of "overfilled" bundles (using the predicate filled>1.0) no longer works in 21w20a.
{ "parent": "item/generated", "textures": { "layer0": "item/bundle" }, "overrides": [ { "predicate": { "filled": 0.01 }, "model": "item/apple" }, { "predicate": { "filled": 1.01 }, "model": "item/diamond" } ] }Reproduce:
1) Create a world in 21w19a and give yourself a filled bundle, and an "overfilled" bundle/give @s bundle{Items:[{id:'minecraft:stone',Count:1b}]} /give @s bundle{Items:[{id:'minecraft:stone',Count:65b}]}2) Enable the attached resource pack
3) Note that the items have unique textures
4) Create a world in 21w20a (or upgrade that world), and the filled and overfilled bundles have the same textures.
relates to

I cannot reproduce this issue in 1.17 release candidate 1
This is still an issue in 1.17 Release Candidate 2.
Can you please update the datapack to work with the latest snapshots?