selectModel

fun selectModel(modelSelector: BlockModelSelector)

Configures the models based on the block state.


@JvmName(name = "selectModelString")
fun <T : Any> selectModel(property: BlockStateProperty<T>, vararg models: Pair<T, String>)
@JvmName(name = "selectModelString")
fun <T : Any> selectModel(property: BlockStateProperty<T>, models: Map<T, String>)
@JvmName(name = "selectModelResourcePath")
fun <T : Any> selectModel(property: BlockStateProperty<T>, vararg models: Pair<T, ResourcePath>)
@JvmName(name = "selectModelResourcePath")
fun <T : Any> selectModel(property: BlockStateProperty<T>, models: Map<T, ResourcePath>)

Configures the models based on the given property.