mojira.dev
MC-166072

Custom Trident model ignores "layer0" and "elements" section

What I expected to happen was...
Trident model will change same as before 1.15
What actually happened was...
It ignores "layer0" and "elements" section. It only use "display" section.
Step to reproduce
1.Apply "Trident_Report" Resourcepack.
2.Do

/give @s minecraft:trident{CustomModelData:1}

3.You'll get weird trident instead of a iron sword model Trident.

Linked issues

Attachments

Comments 33

hope Mojang will look into this as soon as they can ;-;

Sadly, unlike before 1.15,Trident will thrown even it have negative "Riptide" enchant.
So, we cannot make trident like right-click active item with command even if this problem fixed.

For right click detection, you can use carrot_on_a_stick, too.

@unknown that'd be MC-112991; you can use fishing rods instead (just the bobber obstructs view a bit, but resource pack can make it invisible, and you can /kill it)

I made items that need to "charge" like tridents...
I think reduce the way you make something is not cool.

23 more comments

More than this, since about 1.15, CustomModelData even cannot change the item texture.

The versions I have tested are 1.14.3 and 1.15. The former worked well, while the latter failed.

Can confirm for 1.19

This is actually the same thing as MC-163948, not just related. While the display is explicitly mentioned in its title, if you read the description, it notes lack of ability to change the model.

Confirmed in 1.20.2

Confirmed for 1.20.4.... sigh...

Chuzume

(Unassigned)

Confirmed

Platform

Normal

Resource Packs, Textures and models

item-model, resource-pack-support

1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15, ..., 21w19a, 1.17, 1.19, 1.20.2, 1.20.4

24w45a

Retrieved