RangeDispatch

@Serializable
@SerialName(value = "minecraft:range_dispatch")
data class RangeDispatch(val property: ItemModel.RangeDispatch.Property, val scale: Double = 1.0, val entries: List<ItemModel.RangeDispatch.Entry>, val fallback: ItemModel? = null, val normalize: Boolean = true, val wobble: Boolean = true, val source: TimeSource? = null, val target: CompassTarget? = null, val remaining: Boolean = false, val period: Double = 1.0, val index: Int = 0) : ItemModel

Constructors

Link copied to clipboard
constructor(property: ItemModel.RangeDispatch.Property, scale: Double = 1.0, entries: List<ItemModel.RangeDispatch.Entry>, fallback: ItemModel? = null, normalize: Boolean = true, wobble: Boolean = true, source: TimeSource? = null, target: CompassTarget? = null, remaining: Boolean = false, period: Double = 1.0, index: Int = 0)

Types

Link copied to clipboard
@Serializable
data class Entry(val threshold: Double, val model: ItemModel)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val index: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard