#How do you view custom model data in game
16 messages · Page 1 of 1 (latest)
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.
sadly I don't believe this is possible
do datavalues still exsist?
you can still see many other things with tooltips but not custom model data, if that's what you mean
idk what you mean by "datavalues"
yea custom model data mb im curious if it still is a thing. Like is that how you custom texture items
yes it's still a thing but there are some new options you can use in 1.21.4 and the most recent snapshots
using commands you can give yourself an item that directly uses the model from a resource pack I believe
oh weird. Im going to have to experiment with that
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
!faq 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']
Yeah, unless you need numbers specifically (to increase them via commands dynamically for example) it's easier to use the item_model component now.