📡 Range Dispatch
https://minecraft.wiki/w/Items_model_definition#range_dispatch
Render an item model based on numeric property. Will select last entry with threshold less or equal to property value.
When using "minecraft:range_dispatch," you need to specify the numeric property
type. scale
represents the factor to multiply the property value with, entries
represent the models under different numerical values, and fallback
represents the item model object if no valid entry was found. It is optional, but if not specified, it will render a "missing" error model.
Available Properties
minecraft:crossbow/pull
Return crossbow-specific use time.
minecraft:bundle/fullness
Return weight of
minecraft:bundle_contents
component or0
if not present.
minecraft:cooldown
Return remaining cooldown for item, scaled between
0.0
to1.0
.
minecraft:compass
Return an angle, scaled from
0.0
to1.0
in x-z plane between holder position and target. If target is not valid (not present, in other dimension or too close to holder position) random value will be returned.
minecraft:count
Return stack size.
minecraft:damage
Return value for
minecraft:damage
component or0
if not present.
minecraft:time
Return value of a in-game time, scaled betewen
0.0
to1.0
.
minecraft:use_cycle
Return remaining use ticks modulo
period
.
minecraft:use_duration
Return item use ticks.
minecraft:custom_model_data
Return value from
floats
list inminecraft:custom_model_data
component or0
if not present.
Last updated