#How do you view custom model data in game

16 messages · Page 1 of 1 (latest)

marble echo
#

f3+h doesnt work

drowsy tapirBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

unkempt creek
marble echo
unkempt creek
#

idk what you mean by "datavalues"

marble echo
#

yea custom model data mb im curious if it still is a thing. Like is that how you custom texture items

unkempt creek
#

using commands you can give yourself an item that directly uses the model from a resource pack I believe

marble echo
#

oh weird. Im going to have to experiment with that

unkempt creek
#

also they've added new files sort of like blockstates but for items

#

you can have renamable weapons in vanilla since 2 or 3 snapshots ago

#

and enchantment based since the most recent one

sterile olive
#

!faq new-java-features

drowsy tapirBOT
# sterile olive !faq new-java-features
FAQ
Java: New Java Features

Item Model Definitions (1.21.4+)

Minecraft added Item Model Definitions, they act similarly to blockstate files, but are solely for items.
They can be used as an alternative to some CIT features, with current snapshots making them a full replacement for CIT.
More information on this feature can be found on the MC wiki https://minecraft.wiki/w/Items_model_definition

Custom Model Data alternative (1.21.2+)

Mojang added an alternative to custom model data, you can specify a data component
that will change the item model an item uses. On 1.21.4+ this will change the Item Model Definition file used.
/give @wraith basalt fishing_rod[minecraft:item_model='minecraft:my_fancy_model']

sacred inlet
#

Yeah, unless you need numbers specifically (to increase them via commands dynamically for example) it's easier to use the item_model component now.