setCustomModelDataFloat

fun ItemStack.setCustomModelDataFloat(index: Int, value: Float)

Sets the CustomModelData.floats at the given index to value. Fills all intermediary indices with DEFAULT_FLOAT if necessary.