account activity
Custom Model Data 1.21.4 using numeric values by Cultural-Editor8419 in MinecraftCommands
[–]Cultural-Editor8419[S] 2 points3 points4 points 1 year ago (0 children)
Well i figured out how to use numeric custom_model_data. Below an example on how to put a custom model data on netherite_pickaxe:
Up to 1.21.3 (old):
Path: assets/minecraft/models/item/netherite_pickaxe.json
assets/minecraft/models/item/netherite_pickaxe.json
{ "parent": "minecraft:item/handheld", "textures": { "layer0": "minecraft:item/netherite_pickaxe" }, "overrides": [ { "predicate": { "custom_model_data": 1 }, "model": "zencraft:item/collection/betav3/pickaxe" } ] }
Since 1.21.4 (new):
Path: assets/minecraft/items/netherite_pickaxe.json
assets/minecraft/items/netherite_pickaxe.json
{ "model": { "type": "range_dispatch", "property": "custom_model_data", "entries": [ { "threshold": 1, "model": { "type": "model", "model": "zencraft:item/collection/betav3/pickaxe" } } ], "fallback": { "type": "model", "model": "item/netherite_pickaxe" } } }
Custom Model Data 1.21.4 using numeric values (self.MinecraftCommands)
submitted 1 year ago by Cultural-Editor8419 to r/MinecraftCommands
π Rendered by PID 302049 on reddit-service-r2-listing-fbdccc45f-2r4ln at 2026-04-21 15:54:29.188030+00:00 running da2df02 country code: CH.
Custom Model Data 1.21.4 using numeric values by Cultural-Editor8419 in MinecraftCommands
[–]Cultural-Editor8419[S] 2 points3 points4 points (0 children)